Tag: symfony6
-
Using api-platform to query with GraphQL, how can I create a filter from a virtual field?
0 Im using symfony 6 and api-platform/core: v3.1.3. Said that, I have an entity that has a method calculable/virtual that I would like to query using graphQL That is the entity <?php #[ ApiResource( operations: [ new Get(), new Put( denormalizationContext: [‘groups’ => [‘update’]], ), new Delete(), new GetCollection(), new Post(), ], normalizationContext: [‘groups’ =>…