Supporting multiple scalar types for MongoDB id field



Migrating Meteor app to GraphQL and using Prisma for ORM. Have a MongoDB database and leveraged Prisma Introspection for datamodel definition. Unfortunately I’m getting the following error:

# Type String is currently not supported for id fields.

The id field is of type String because the Meteor-MongoDB connector uses String. As the field is immutable I can’t update the entries so I’m unsure of how to proceed.

Why isn’t String a supported id type and is there a plan to do so? Thanks.


This topic was automatically closed 45 days after the last reply. New replies are no longer allowed.