-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: add support for service.id
as array of columns
#194
Comments
service.id
as array of columnsservice.id
as array of columns
service.id
as array of columnsservice.id
as array of columns
service.id
as array of columnsservice.id
as array of columns
Hi, I guess it should be part of the lib itself, but there are more things that would need to be changed. service.id is used in other places too. |
Cool, I'll PR this later with tests for your review. thanks! |
PRs are welcome. As a hint, if you need it fast, you should target v1 branch, I guess master (and v2) will still take a while. Of course this would only be valid if there are no BC breaks. |
I've opened a PR on v2 (master branch). I'll check v1 soon. |
Added another PR on v1 branch. |
Merged it into v1 branch. |
When integrating this lib with feathers-objection & feathers-cassandra services,
service.id
property can be an array of column names that represent a composite PK.In addition, there's the
service.idSeperator
property that default to,
so a composite PK can be set as ID with REST, e.g./users/firstPathParam,secondPathParam
.I didn't find any workaround for this issue in the lib options.
The only thing that worked was changing the file
feathers-swagger/openapi.js:line 190
to:Is there anything I'm missing here? should we integrate this logic into the lib or expose a method in the options to control it?
The text was updated successfully, but these errors were encountered: