menu
Canner

# GQLify

Create GraphQL server connecting hybrid APIs fast and easy.

Posts
Members
Search

@unique dosen't work in the schema

I create this schema: export const Article = type Article @GQLifyModel(dataSource: "mongodb", key: "articles") { url: ID! @unique title: String! img: String content: String post: Boolean }; but when I create a new article with the a just existent url, the mutation pass and…

thumbsup
0
message-simple
1

How to use apollo-server-lambda with MongoDataSource?

I want create an api with serveerless and aws lambda, so I would know is possible use apollo-server-lambda and what configuration i could use.

thumbsup
1
message-simple
3

wrong in creation MongodbDataSource...

i want to create a data source with mongodb, I follow de documentation https://www.gqlify.com/docs/mongodb, but I get an error "MongodbDataSource is not a constructor", so, I think that should import "MongodbDataSourceGroup"... what do you think?

thumbsup
0
message-simple
2

External datasource examples

Hi, thanks for the awesome tool! Are there any guides for wrapping an existing REST API using a custom Datasource? https://www.gqlify.com/docs/data-source-overview I think this will be a very common use case and an example for this would be great!

thumbsup
0
message-simple
5

GQLify within the browser?

Can GQL code be executed by GQLify within a browser environment? If not, are there are any plans to allow for that? I'm working with the Cloud Firestore database, and database-related code (insert, update, delete, etc) is executed within the browser, so I'd rather not have to…

thumbsup
0
message-simple
4

How to query Many-To-Many relationship?

if I have a M2M relationship between User and Book, how can I query for all books with a certain author?

thumbsup
0
message-simple
5