RisingStack / graffiti-mongoose

⚠️ DEVELOPMENT DISCONTINUED - Mongoose (MongoDB) adapter for graffiti (Node.js GraphQL ORM)

Home Page:https://risingstack-graffiti.signup.team/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to mutate nested Schema?

danielmahon opened this issue · comments

Overview of the Issue

I must be missing something but how do you create/update a nested schema? For example, I am unable to create the street1 attribute under the location path. No errors are thrown.

Reproduce the Error

cursor_and_graphiql_and_text_field_-_material-ui

Node version: 6.3.1
Graffiti-Mongoose version: 5.3.0

Can you show us the error that you get when you hover the line red error? because I can do it.

@JohnProg I will close this, I believe this was an issue on my end with location being a reference to another document and not actually nested itself.

Nice.