タグ

ブックマーク / medium.com/@calebmer (1)

  • When To Use GraphQL Non-Null Fields

    Learn what some of the unexpected costs of GraphQL non-null fields are. In the GraphQL type system all types are nullable by default. This means that a type like Int can take any integer (1, 2, etc.) or null which represents the absence of any value. However, the GraphQL type system allows you to make any type non-null which means that the type will never produce a null value. When using a non-nul

    When To Use GraphQL Non-Null Fields
    mangano-ito
    mangano-ito 2022/05/13
    “Non-null fields in GraphQL may seem great at first, after all they guarantee that you will always have a given field. However, using a non-null field may make it harder to evolve your GraphQL schema”
  • 1