Code Monkey home page Code Monkey logo

graphql-sequelize-generator's People

Contributors

azzeddine-amrane avatar brynetane avatar genouf avatar germainvictor avatar stevegnr avatar tysonsmiths avatar vacaballo avatar vincentdesmares avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

graphql-sequelize-generator's Issues

Add support for others Apollo servers (Hapi,Koa,etc)

Hi.
I would like to suggest a feature: The ability to chose which apollo server to use on the generateApolloServer function, since at the moment allow works on express.
For example: apollo-server-hapi or require('apollo-server-koa')
Best regards.

Track un-hooked endpoints

Allow to pass an option when generating a schema to output a notice on the console if an endpoint is used without a hook.

It will help secure a GSG implementation by showing what is not protected by hooks.

Duplicate Enum type error when using ENUM(...) datataype in the model

Error: Schema must contain uniquely named types but contains multiple types named "quiztestEnumType"

This is my model

`const Model = sequelize.define('quiz', {

    id: {
        type: DataTypes.INTEGER,
        allowNull: false,
        autoIncrement: true,
        primaryKey: true,
    },

    title: {
        type: DataTypes.STRING,
        allowNull: false,
    },

    test: {
        type: DataTypes.ENUM(['one', 'two']),
    }

}, Object.assign({}, defaultOptions));`

P.S. I don't have any other Enum type in my project.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.