svilen dobrev
svilen dobrev
apart of above conflicts (caused by changed formating/style of code), the test graphql/type/tests/test_introspection.test_introspects_on_input_object() needs fixing, seems List has no defaultvalue=None anymore See my fork for the result: master@ https://github.com/svilendobrev/graphql-core
after using it, there is some side-effect: get-query argument-fields that are optional and are not specified, do appear as None in resolvers. If they are declared with explicit default_value=graphql.Undefined, they...
and, same goes for mutation.. optional args that are not send in, are being filled with their default-value, and passed to resolver
ahha, Argument/InputValue .defaultValue should be set to (internal) graphql.utils.undefined.UndefinedDefaultValue (and not the visible graphql.Undefined), then they are not auto-added each time. But, then, such an argument cannot be set to...
i also prefer allowing unions to have both objects and scalars (example: field "user" can be int-id, uuid or whole User object, depending on some settings/context/needs/permissions). This way is less...
ами основната идея е да се пише и чете на български. Консистентност.. т.е. подобност на "стила" - пожелателна. подчертавка/долно_тире не се включва в кирилските клавиатури - което прави употребата му...