Skip to content

Conversation

mcg-web
Copy link
Contributor

@mcg-web mcg-web commented Nov 3, 2017

Q A
Bug fix? no
New feature? yes
BC breaks? yes
Deprecations? yes
Tests pass? yes
Documented? yes
Fixed tickets #228
License MIT

@mcg-web mcg-web added the wip label Nov 3, 2017
@mcg-web mcg-web force-pushed the explicit_types_generation branch 4 times, most recently from 4c6355e to 2a9de89 Compare November 5, 2017 09:45
Copy link
Contributor

@hgraca hgraca left a comment

Choose a reason for hiding this comment

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

I would really change the command name.
Optionally, I would also reorganize the commits before merging. (first the code to change how/when the types are generated, together with the tests, then the command to trigger it via the command line, together with the tests, then the option to disable the auto generation, together with the tests)

{
$this
->setName('graphql:generator')
->setDescription('Execute manually types generation.')
Copy link
Contributor

Choose a reason for hiding this comment

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

compiler is a subject, a thing.
compile is a command, an action, something to do.

I would rename this to 'graphql:compile'
I would also change the description to Manually generate types or Generate types manually

Copy link
Contributor Author

Choose a reason for hiding this comment

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

this make sense, thanks for review

@mcg-web mcg-web force-pushed the explicit_types_generation branch 3 times, most recently from c645ea0 to 7a27010 Compare November 6, 2017 13:27
@mcg-web mcg-web removed the wip label Nov 6, 2017
@mcg-web mcg-web force-pushed the explicit_types_generation branch from 7a27010 to 5d4528e Compare November 6, 2017 14:24
@mcg-web mcg-web merged commit 2e34c8d into overblog:master Nov 6, 2017
@mcg-web mcg-web deleted the explicit_types_generation branch November 6, 2017 14:51
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