Skip to content

Version 0.4.0

Compare
Choose a tag to compare
@davelsan davelsan released this 11 Sep 11:45
· 38 commits to master since this release
1125784

graphql-server-model-codegen

  • Fix unit tests to use the internal sequelize model instance introduced in release 0.3.0.

  • Refactor search input value from a composite object to two separate fields withing the search arguments: value and valueType.

    input search<Model>Input {
      field: AccessionField
      value: String
      valueType: InputType
      operator: Operator
      search: [search<Model>Input]
    }
  • Refactor valueType to a new enum InputType that accepts all GraphQL primitives supported at Zendro, and a new Array type used only by the search resolver.

    enum InputType{
      Array
      String
      Int
      Float
      Boolean
      Date
      Time
      DateTime
    }

graphql-server

  • Refactor the search input value spec in static files to match the changes in `graphql-server-model-codegen.

single-page-application-codegen

  • Refactor model requests to use the new value spec in graphql-server and graphql-server-model-codegen.
  • Fix integration tests to use the new configuration changes introduced in release 0.3.0