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

Default values and missing variables #102

Closed
benwilson512 opened this issue Apr 14, 2016 · 3 comments
Closed

Default values and missing variables #102

benwilson512 opened this issue Apr 14, 2016 · 3 comments
Assignees
Labels
Milestone

Comments

@benwilson512
Copy link
Contributor

Suppose:

field :thing, :thing do
  arg :id, :id, default_value: "1"
end

query Foo($id: ID) {
  thing(id: $id)
}

If you don't pass in an id variable the default is not selected.

@bruce bruce changed the title Default values and missing valuables Default values and missing variables Apr 26, 2016
@bruce
Copy link
Contributor

bruce commented Sep 11, 2016

@benwilson512 Take a peek at this; believe this is handled in the v1.2 branch (if so, close it).

@bruce bruce added this to the v1.2 milestone Sep 11, 2016
@bruce
Copy link
Contributor

bruce commented Sep 17, 2016

@benwilson512 Confirm, this is being handled in #160.

@benwilson512
Copy link
Contributor Author

Fixed in v1.2 beta 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants