Skip to content

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