Skip to content

feat: Ability to use an identifier on non-resources#3946

Closed
soyuka wants to merge 1 commit intoapi-platform:mainfrom
soyuka:feat/identifier-non-resources
Closed

feat: Ability to use an identifier on non-resources#3946
soyuka wants to merge 1 commit intoapi-platform:mainfrom
soyuka:feat/identifier-non-resources

Conversation

@soyuka
Copy link
Member

@soyuka soyuka commented Jan 7, 2021

Q A
Bug fix? kinda
New feature? kinda
BC breaks? no
Deprecations? no
Tickets fixes #3941
License MIT
Doc PR na

This re-uses our ApiProperty(identifier=true) and enables its use on classes that are not resources. It helps in the id generation that may not be desirable.

@soyuka soyuka force-pushed the feat/identifier-non-resources branch from b107cf3 to 393c19d Compare January 7, 2021 12:50
@soyuka soyuka requested a review from dunglas January 22, 2021 10:10
Base automatically changed from master to main January 23, 2021 21:59
@soyuka soyuka modified the milestones: 2.6.3, 2.7 Feb 6, 2021
@stale
Copy link

stale bot commented Nov 4, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Nov 4, 2022
@stale
Copy link

stale bot commented Jan 3, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jan 3, 2023
@stale stale bot closed this Jan 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow the user to customize the @id generation

2 participants