Skip to content

Conversation

@soyuka
Copy link
Member

@soyuka soyuka commented Oct 23, 2024

Q A
Branch? 3.4
Tickets #6728 #6682
License MIT

#[ORM\GeneratedValue(strategy: 'AUTO')]
public ?int $id = null,
#[ORM\Column(type: 'date_immutable', nullable: true)]
public ?\DateTimeImmutable $dummyDate = null,
Copy link
Contributor

@bendavies bendavies Oct 23, 2024

Choose a reason for hiding this comment

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

i would make dummyDate on the FilterWithStateOptionsEntity and FilterWithStateOptions named differently, and still make sure filtering, hydra:template, swagger, and the QueryParameter works

Copy link
Member Author

Choose a reason for hiding this comment

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

This will work only once we've access to symfony/symfony#51741. For now unless you do the mapping yourself, the Resource should have the same properties as the Entity.

@soyuka soyuka force-pushed the fix/filter-descr-openapi branch 3 times, most recently from b288316 to 82e430f Compare October 25, 2024 08:29
@soyuka soyuka force-pushed the fix/filter-descr-openapi branch from 82e430f to 50ac9eb Compare October 25, 2024 08:50
@soyuka soyuka merged commit fc8fa00 into api-platform:3.4 Oct 25, 2024
78 checks passed
@soyuka soyuka deleted the fix/filter-descr-openapi branch October 25, 2024 09:44
soyuka added a commit that referenced this pull request Oct 28, 2024
Co-authored-by: Simon <[email protected]>
fix(hydra): iri template when using query parameter (#6742)
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.

2 participants