Skip to content

Rework to improve and simplify identifiers management #3663

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
wants to merge 2 commits into from

Conversation

soyuka
Copy link
Member

@soyuka soyuka commented Aug 5, 2020

Q A
Bug fix? no
New feature? no
BC breaks? yes
Deprecations? yes
Tickets rework of #2126
License MIT
Doc PR na

Basically my idea was to specify on the operation what it's identifiers are. This helps a lot with identifiers parsing etc.

The code speaks for itself. I still need to find a solution for composite identifiers, for example we can deprecate them but keep an option:

@ApiResource(identifiedBy='id')

Would work and force a single identifier in the route path even if there were several.

@soyuka soyuka changed the title Improve identifiers Rework to improve and simplify identifiers management Aug 5, 2020
@soyuka soyuka force-pushed the improve-identifiers branch from 8d1dfb7 to 55cae9d Compare August 5, 2020 15:08
@soyuka soyuka closed this Aug 5, 2020
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.

1 participant