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

Allow nilable nested params #55

Closed
vladfaust opened this issue Feb 18, 2019 · 0 comments
Closed

Allow nilable nested params #55

vladfaust opened this issue Feb 18, 2019 · 0 comments
Assignees
Milestone

Comments

@vladfaust
Copy link
Member

vladfaust commented Feb 18, 2019

Should choose one of these variants. Please vote with according emoji.

A 👍

# Nilable
type user? do
  type id : Int32
end

# Non-nilable
type user do
  type id : Int32
end

B 👎

# Nilable
type user : Object | Nil do
  type id : Int32
end

# Non-nilable
type user : Object do
  type id : Int32
end

# Non-nilable
type user do
  type id : Int32
end

C 😕

# Nilable
type user, nilable: true do
  type id : Int32
end

# Non-nilable
type user, nilable: false do
  type id : Int32
end

# Non-nilable
type user do
  type id : Int32
end
@vladfaust vladfaust added the rfc label Feb 24, 2019
@vladfaust vladfaust self-assigned this Feb 26, 2019
@vladfaust vladfaust added this to the next patch milestone Feb 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant