Miguel Oller

Results 27 issues of Miguel Oller

We should add support to import files from `.graphql` files. You could import another `.graphql` file or a `.js` file that has a `build` config for it.

We're going to start to implement the changes required to release `v0.1.0` so I'm opening this PR to keep track of the progress. ### Goals With `v0.1.0` we plan to...

help wanted

This schema won't behave as expected. The default value for `friends` ends up being `null`. ```graphql input InsertUserInput { id: ID! name: String! friends: [ID!] = [] } ```

bug
help wanted

`build` is very useful and convenient in that it can produce any number of types. Sometimes it might be inconvenient to get a type map though. If we export the...

enhancement
help wanted

``` js build(` type Query { status: Boolean! } `, { status: () => true }); ``` The code above will throw an error when attempting to query `status`.

bug
help wanted

Using Flow will greatly reduce various bugs and it should be easy to implement given that GraphQL.js is written with it.

enhancement
help wanted

enhancement
help wanted

There are various problems when trying to build a schema that make the API more confusing. - Inferring a schema comes with the problem of it not being intuitive where...

enhancement
help wanted

It would be useful to be able to apply a transform to enum values (e.g., [camelcase](https://www.npmjs.com/package/camelcase))

enhancement

The next utility after `build` should be custom GraphQL types, mostly scalars, that facilitate validation. Potential types include `GraphQLURL`, `GraphQLJSON`, `GraphQLEmail`, `GraphQLUnsignedInt`, and many more!

enhancement