Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Validate if we need to make something for update, bump this package in delivery-service.

intl-whitelabel-graphql

In the repository whitelabel-graphql we don’t have the additional hours, so we need to add this information in the queries for GraphQL.

Task 1 - Create the interface for additional hours on GraphQL

In the file src/functions/graphql/schemas/restaurant.gql we need to add a new interface for additional time and add this additional times in the OperatingHours interface.

Example:

...

After add all new fields, we need to run the command “yarn graphql:types” to generate the types for GraphQL.