Skip to content

Conversation

@dunglas
Copy link
Member

@dunglas dunglas commented Feb 5, 2025

Q A
Branch? 4.0
Tickets n/a
License MIT
Doc PR n/a

Example for api-platform/core#6929

Comment on lines +16 to +19
#[ApiProperty(property: 'title', serialize: new Groups(['book']))]
#[ApiProperty(property: 'isbn', serialize: new Groups(['book']))]
#[ApiProperty(property: 'isbn', serialize: new Groups(['book']))]
#[ApiProperty(property: 'description', serialize: new Groups(['book']))]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dunglas This part gives me an error when I run php artisan migrate and a fatal error on the API doc, as you can see below:
image
image

Copy link
Member Author

@dunglas dunglas Feb 9, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I fixed this in core. We just need to update the deps.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, perfect, so I'll do it in PR #4 👌

Copy link
Member

@vinceAmstoutz vinceAmstoutz Feb 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ready to rebase @dunglas

@vinceAmstoutz vinceAmstoutz added enhancement New feature or request Need to work Further work or revisions are required labels Feb 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request Need to work Further work or revisions are required

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants