and my schema: ``` type Query { events: [Event!]...
# orm-help
j
and my schema:
Copy code
type Query {
  events: [Event!]!
  event(slug: String!): Event
  places: [Place!]!
}

type Mutation {
  createEvent(title: String!, slug: String!): Event
  deleteEvent(id: ID!): Event
  updateEvent(id: ID!, title: String!, slug: String!, description: String, dates: [String], menus: [String]): Event
  createPlace(name: String!, url: String, event: ID!): Place
  deletePlace(id: ID!): Place
}

type Event {
  id: ID!
  slug: String!
  title: String!
  description: String
  dates: [String]
  places: [Place]
  menus: [String]
}

type Place {
  id: ID!
  name: String!
  url: String
  event: Event!
}
l
Thanks for all of the info. Can you give an example of a query, what that query returns, and what you'd like it to return?
h
@lawjolla We already fixed the issue in a DM
the issue was in the resolver code, now everything is fine
l
Ok