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

fix: various reflection issues with Model and Entity #30

Draft
wants to merge 3 commits into
base: 1.x
Choose a base branch
from

Conversation

paulbalandan
Copy link
Collaborator

Closes #17
Fixes #19
Fixes #25

This will use latest CI4 and PHP 8.2 so this might still hold for a while.

IN PROGRESS

To do:

  • Remove hacks to downgrade release (to support PHP 8.1+ solely)
  • Require phpstan/phpstan@^1.11 and friends
  • Use SQLite to store database (to obtain an accurate picture of the database, we'll use a live database created from the user's migration files)
  • Add representations of the database, tables, and columns (value objects)
  • Add migrations helper
  • Add model/entity casts helper (that is aligned with new cast behavior in 4.5)
  • Add entity property extension for dynamic fetch of entity properties
  • Add entity method extension
  • Add model method extension
  • Add phpstan rules

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant