You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.
We started using the generator and want to develop the missing features and push some PRs.
Can you please point us in the right direction with this? What/where to look for PK array definition, we saw some comments in the code and assumed this implementation is trickier since it was left out ob purpose, but still, we need it and want to contribute.
Cheers,
R
The text was updated successfully, but these errors were encountered:
thanks for offering your help. I think we did not implement it because it was not needed. We can add it if we find good use cases for composite PK. However we are trying to follow the JSON API Standard as much as possible and it does not seem to define how to handle composite PKs, at least I did not find it. https://jsonapi.org/format/#document-resource-object-identification
How would your OpenAPI description, which defines an entity with composite PK look like and how should the API Requests/Responses handle the composite PK?
Related to #135 if you want to define a composite PK for the database only, that should definitively be possible even though we have no way to express this relation at the API itself.
@razvanphp could you please share some details about your use case?
Hey @cebe, thank you for this great library.
We started using the generator and want to develop the missing features and push some PRs.
Can you please point us in the right direction with this? What/where to look for PK array definition, we saw some comments in the code and assumed this implementation is trickier since it was left out ob purpose, but still, we need it and want to contribute.
Cheers,
R
The text was updated successfully, but these errors were encountered: