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

Make 'id' property the identity property & autoincrement by default #2

Open
BenMorel opened this issue Jan 20, 2019 · 0 comments
Open
Assignees

Comments

@BenMorel
Copy link
Member

BenMorel commented Jan 20, 2019

If setIdentityProperty() has not been called after addEntity() during configuration, and the entity has an id property that's an int or a string, consider it an auto-increment identity field by default.

This will prevent overly verbose configuration files as most entities have such an ID.

@BenMorel BenMorel changed the title Make id property autoincrement identity property by default Make id property identity property & autoincrement by default Jan 21, 2019
@BenMorel BenMorel self-assigned this Jan 21, 2019
@BenMorel BenMorel changed the title Make id property identity property & autoincrement by default Make 'id' property the identity property & autoincrement by default Jan 27, 2019
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

No branches or pull requests

1 participant