Skip to content

Support for client-generated IDs #1054

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

Closed
maurei opened this issue Sep 1, 2021 · 1 comment · Fixed by #1494
Closed

Support for client-generated IDs #1054

maurei opened this issue Sep 1, 2021 · 1 comment · Fixed by #1494

Comments

@maurei
Copy link
Member

maurei commented Sep 1, 2021

Currently the OpenApi integration takes into account the JsonApiOptions.AllowClientGeneratedIds option when generating schemas for resource objects, but this hasn't been thoroughly tested.

@maurei maurei added the OpenAPI label Sep 1, 2021
@bart-degreed bart-degreed changed the title Support for client generated ids Support for client generated IDs Sep 1, 2021
@bkoelman
Copy link
Member

bkoelman commented Feb 7, 2024

AllowClientGeneratedIds was renamed to ClientIdGeneration. It can be set in global options, then overridden per resource type. See https://www.jsonapi.net/usage/options.html#client-generated-ids.

@bkoelman bkoelman changed the title Support for client generated IDs Support for client-generated IDs Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.

2 participants