Skip to content

Conversation

dunglas
Copy link
Member

@dunglas dunglas commented Jan 24, 2021

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tickets fixes n/a
License MIT
Doc PR n/a

Defaults aren't applied properly when using attributes, because the default value is null.

TODO:

  • Add a test

@dunglas dunglas changed the base branch from main to 2.6 January 24, 2021 17:16
@dunglas dunglas merged commit 40c42cd into api-platform:2.6 Jan 24, 2021
@dunglas dunglas deleted the fix/defaults branch January 24, 2021 18:27
dunglas added a commit that referenced this pull request Jan 24, 2021
* 2.6:
  docs: update changelog
  fix: defaults when using attributes (#3978)
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.

1 participant