Associate custom classes with schema types #65

Open
opened 2026-09-20 10:41:48 +02:00 by c.fahner · 0 comments
Owner

Currently there is no way to create a new class and automatically associate it with a schema type.

It should be possible to add something like a #[Schema\Type\DefaultTypeProvider(Closure():Type)] to any class, so that entities only need to declare their own type on a field.

Currently there is no way to create a new class and automatically associate it with a schema type. It should be possible to add something like a `#[Schema\Type\DefaultTypeProvider(Closure():Type)]` to any class, so that entities only need to declare their own type on a field.
c.fahner added this to the v0.3 milestone 2026-09-20 10:41:48 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
slendium/ocd#65
No description provided.