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

Cleanup Input default value and Fix #1171 #1172

Merged
merged 7 commits into from
Mar 30, 2024
Merged

Conversation

Vincz
Copy link
Collaborator

@Vincz Vincz commented Mar 29, 2024

Q A
Bug fix? kind of
New feature? yes
BC breaks? no
Deprecations? yes
Tests pass? yes
Documented? yes
Fixed tickets #1171
License MIT
  • Handle default value on Input field and introduce a new attribute #[InputField]
  • Update docs with example with attributes instead of annotation
  • Rename default to defaultValue to be consistent in #[GQL\Arg] attribute (and deprecate the old one)

Vincz added 2 commits March 29, 2024 09:42
- Handle default value on Input field and introduce a new attribute #[InputField]
- Update docs with example with attributes instead of annotation
- Rename `default` to `defaultValue` to be consistent in #[GQL\Arg] attribute (and deprecate the old one)
@Vincz Vincz requested a review from mcg-web March 29, 2024 08:54
Vincz added 3 commits March 29, 2024 12:45
When using attributes or annotations, we can try to auto resolve the types associated with interfaces.
docs/annotations/annotations-reference.md Outdated Show resolved Hide resolved
src/Annotation/Arg.php Outdated Show resolved Hide resolved
Copy link
Member

@mcg-web mcg-web left a comment

Choose a reason for hiding this comment

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

Thank you @Vincz !

@Vincz Vincz merged commit 41098c0 into overblog:master Mar 30, 2024
38 checks passed
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