Skip to content

Add generics to primary classes#163

Open
nilmerg wants to merge 1 commit into
mainfrom
basic-generic-support
Open

Add generics to primary classes#163
nilmerg wants to merge 1 commit into
mainfrom
basic-generic-support

Conversation

@nilmerg

@nilmerg nilmerg commented Jul 21, 2026

Copy link
Copy Markdown
Member

Concrete models now may use @extends Model<self> to make use of this. Similarly, query instances, such as those for eagerly loaded relations can now use Query<$TargetClass> to get better code inspection hints in PHPStorm when code accesses said properties.

Concrete models now may use `@extends Model<self>`
to make use of this. Similarly, query instances,
such as those for eagerly loaded relations can
now use `Query<$TargetClass>` to get better code
inspection hints in PHPStorm when code accesses
said properties.
@cla-bot cla-bot Bot added the cla/signed label Jul 21, 2026
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.

1 participant