Skip to content

Conversation

@BacLuc
Copy link
Contributor

@BacLuc BacLuc commented Jul 26, 2025

in api/config/packages/api_platform.yaml.
skip_null_values is already set in SerializerContextBuilder.

I also tried to just use the defaults, but OpenApi does not seem to use the OperationDefaultsTrait
See https://github.com/BacLuc/ecamp3/tree/api-remove-serializercontextbuilder

Now the configuration is just in one place.

in api/config/packages/api_platform.yaml.
skip_null_values is already set in SerializerContextBuilder.
@BacLuc BacLuc requested a review from a team July 26, 2025 15:46
@BacLuc BacLuc requested a review from a team July 26, 2025 17:46
@simfeld simfeld added this pull request to the merge queue Jul 27, 2025
Merged via the queue into ecamp:devel with commit 60bdcea Jul 27, 2025
30 checks passed
@BacLuc BacLuc deleted the remove-context-defaults-from-config branch July 27, 2025 07:48
This was referenced Aug 11, 2025
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.

3 participants