Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: defaults when using attributes #3978

Merged
merged 1 commit into from Jan 24, 2021
Merged

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.

None yet

1 participant