Support inline/embeded types stored as structured JSONB columns
Allow storing structured types in JSONB columns using an @inline (or @embed) directive on the field.
type Address {
street: String!
street2: String
city: String!
state: String!
zipcode: String!
}
type User @table {
address: Address @inline # stores as JSONB
}
8
votes
AdminMichael Bleigh
(Admin, Google, LLC - Firebase)
shared this idea
-
Troy Busot commented
Please don't mix json w/ sql - I get it, but it was a bad idea long ago and still is. I'd favor either events so that I can write the doc to firestore or simply create a firestore connector.