Steps
- Ensure that each of the Queries, Mutations, Subscriptions & Custom Types(if any) are displayed in the left hand section
- Ensure that each item can be expanded and the number of arguments are correct and their types also
- Ensure there is a “No Resolver” link on each item for Queries, Mutations and one per field on the Custom Type
- Click on the “No Resolver” link
- Choose the previously created Data source
- Add a request mapping & response mapping examples at https://github.com/aerogear/data-sync-server/blob/master/sequelize/seeders/memeolist-example-postgres.js#L61
- Save the resolver & it should now show in the query/mutation it was created for
- Edit some field in the resolver and ensure this is saved
- Delete the resolver and ensure it is removed
Test the hooks:
- Add a valid pre hook into the field eg: https://httpbin.org/post & ensure the green verified icon appears when the “Verify URL” button is pressed
- Enter an invalid URL and ensure that it shows as unverified with red icon
|
|