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

Infer type of model id without migrations #1057

Merged
merged 3 commits into from
Jan 20, 2022
Merged

Conversation

sebdesign
Copy link
Contributor

@sebdesign sebdesign commented Dec 2, 2021

  • Added or updated tests
  • Documented user facing changes
  • Updated CHANGELOG.md

#499 #536 #1029

Changes

Ths PR allows infering the $id property from a model when there are no migrations.
This assumes that the $keyType property or the getKeyType() method has been modified accordingly.

Breaking changes

Probably not, but I'm not sure.

@canvural
Copy link
Collaborator

Looks reasonable. Thank you!

@canvural canvural merged commit c0387c5 into larastan:master Jan 20, 2022
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.

None yet

3 participants