Hello I am having a small problem I have a schema...
# orm-help
h
Hello I am having a small problem I have a schema with type Json in it . When I try to insert data without query variables works but when I try to parameterise it. it fails. mutation updatePropertyReport( $mlsListingObject: Json, $mlsID: String){ updatePropertyReport( data:{ mlsListingObject: $mlsListingObject }, where{mlsID $mlsID} ){ id mlsID mlsListingObject } } query variables { "mlsID": "14691538", "mlsListingObject":"{\"_id\":\"14691538\"}" } The following works the above doesn't with mutation updatePropertyReport( $mlsID: String){ updatePropertyReport( data:{ mlsListingObject: "{\"_id\":\"14691538\"}" }, where{mlsID $mlsID} ){ id mlsID mlsListingObject } }
@Channel has anyone faced this issue before ?
@janpio can you please see this one as well
Is there a way around this one ?
j
Please don't at mention people directly in threads. We have people looking at all messages, and they will do that when they work on this. Thanks.
The above looks like a GraphQL query which Prisma does not support or offer. We would need to know the Prisma Client queries that are executed with which values.