Giter Site home page Giter Site logo

mandarina's People

Contributors

cesarve77 avatar cesarve78 avatar dependabot[bot] avatar eazzyapp avatar jmlaya avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

africademy

mandarina's Issues

Docs

import {CreateForm} from 'mandarina' import '/app/lib/tables/Post' export default ()=> <CreatePostForm table={Post}/>
Is there a typo in the docs. Or that's the way it's suppose to be.
I was using it in this way <CreateForm table={Post}/>.

Update Form Mutation is sending `first: 50` in input payload

The mutation generated by <UpdateForm /> is inserting first: 50 in the input payload

{"operationName":"mutationFn","variables":{"where":{"id":"cjxcmchik00330791n4y3vvl3"},"first":50,"data":{"id":"cjxcmchik00330791n4y3vvl3","name":"Eduardo Zarraga M","email":"[email protected]","avatar":null}},"query":"mutation mutationFn($where: UserWhereUniqueInput!, $data: UserUpdateInput!) {\n updateUser(data: $data, where: $where) {\n id\n name\n email\n avatar\n __typename\n }\n}\n"}

Create new table

If we remove table it stays in the prisma even though it is no longer in our yoga server. I think table should be deleted from prima as well.

Missing action

When a form action call a no existing action (or not registered)
there no error, conversely call a empty resolver

Validate object values received for the resolvers

We need validate de object values against validators. values like minNumber, RegEx and rest.

We already have a validator in Schema, but the object received for the resolver will have properties like: 'create', 'update' and 'connect' coming from prisma semantic.

Or we do a new validator, which check the prisma semantic as well or we transform the object removing that properties and after check it with the existing validate function

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.