northwind-graphql-ruby icon indicating copy to clipboard operation
northwind-graphql-ruby copied to clipboard

Northwind graphql-ruby

Results 7 northwind-graphql-ruby issues
Sort by recently updated
recently updated
newest added

Why this: `id = attributes.delete(@model.primary_key)` in: ```ruby def call(_obj, args, _ctx) attributes = args[@param_key].to_h id = attributes.delete(@model.primary_key) record = @model.find(id) record.update!(Services::NestedAttributes.call(@model, attributes)) record end ``` here: https://github.com/tb/northwind-graphql-ruby/blob/master/app/graphql/functions/update.rb ? Is the...

In Rails there is the `model.destroy(id)` command to delete (with callbacks) a model. Good. But when you use `dependent: :destroy` with `has_many` or `has_one` it has fun never ending with...

http://tech.eshaiju.in/blog/2017/06/09/dry-graphql-definitions-using-interfaces/

https://github.com/apollographql/apollo-codegen#generate

low priority

Should be simple, use bootstrap4. Can have standard bootstrap navigation at top + some graphic on starter page, maybe a little bit similar to http://graphql.org/ Initially user should see suppliers...

high priority
styling

Use: - https://github.com/lynndylanhurley/devise_token_auth - https://github.com/exAspArk/graphql-guard Add mutations: signupUser and signinUser. Other links: - http://mgiroux.me/2016/token-auth-in-relay-app-using-rails/ - https://github.com/howtographql/graphql-ruby/blob/master/app/graphql/resolvers/sign_in_user.rb - https://medium.com/@gauravtiwari/graphql-and-relay-on-rails-authentication-and-authorisation-f7c07ebb47b3

high priority
backend

See http://graphqlme.com/2017/09/16/upload-images-to-s3-in-graphql-using-rails-and-paperclip/

low priority