Skip to content
Discussion options

You must be logged in to vote

Try something like this instead:

exports.createSchemaCustomization = ({ actions, schema }) => {
  const { createTypes } = actions;
  createTypes(`
    type salonizedAppointments implements Node {
      customer_id: String!
      customer: salonizedCustomers @link(from: "customer_id")
    }
    type salonizedCustomers implements Node {
      id: String!
    }
  `);
};

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@SabbeRubbish
Comment options

@vladar
Comment options

@SabbeRubbish
Comment options

@vladar
Comment options

@SabbeRubbish
Comment options

Answer selected by SabbeRubbish
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants