Skip to content
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

entoas: add option to AllowClientUUIDs for client supplied 'id' in POSTs #541

Merged
merged 1 commit into from
Sep 21, 2023

Conversation

bartke
Copy link
Contributor

@bartke bartke commented Aug 2, 2023

Introduce a new configuration option AllowClientUUIDs to the entoas package. When enabled, it allows the inclusion of the "id" field in the payload of POST requests for entity creation. This enables the clients to supply UUIDs for primary keys, thereby ensuring idempotency.

@a8m a8m requested a review from masseelch August 2, 2023 04:21
@masseelch masseelch merged commit 58da6fd into ent:master Sep 21, 2023
skeletal pushed a commit to netfira/fork-entgo.io-contrib that referenced this pull request May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants