-
Couldn't load subscription status.
- Fork 223
WIP: Add annotation parser #353
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
Conversation
| /** | ||
| * @\Overblog\GraphQLBundle\Annotation\GraphQLDescription(description="Released in 1977.") | ||
| */ | ||
| const NEWHOPE = 4; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doctrine annotation not work with const
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for contribution! Here some minors feedback to start since this is just a wip.
| @@ -0,0 +1,19 @@ | |||
| <?php | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the need of this file?
| * @var string | ||
| */ | ||
| public $method; | ||
| } No newline at end of file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please give some more ❤️ to PHP CS 😆
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Of course, bad configuration of my new computer :)
| <?php | ||
| /** | ||
| * @author Thibault Colette <thibaultcolette06@hotmail.fr> | ||
| * @copyright 2018 Thibault Colette |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please remove the copyright statement?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No problem ;)
|
@mcg-web Yes it's just a WIP, you can found complete example here: https://github.com/CocoJr/docker-sf4-elasticsearch-graphql-react-express I use a boilerplate project to develop this feature. |
Use annotation to configure the GraphQL schemas.