Now argument.is_required() == true only if the type is non-null and there is no
default value, meaning a value must be provided when it's used. This is how the
spec describes required arguments.
This seems more useful as the previous implementation can already be achieved
by checking argument.ty.is_non_null().
It's kind of a fix, kind of just a change, kind of breaking...
Now
argument.is_required() == true
only if the type is non-null and there is no default value, meaning a value must be provided when it's used. This is how the spec describes required arguments.This seems more useful as the previous implementation can already be achieved by checking
argument.ty.is_non_null()
.It's kind of a fix, kind of just a change, kind of breaking...