Lee Richmond
Lee Richmond
Very similar to @angouleme's solution, here's a util that removes the need for a custom component. This will keep your `hasMany` in sync with select2 via computed property get/set: Usage:...
This mixin seems to be working for me: ```ruby # Have Rails 5 --api app play nicely with actionpack caching module Cacheable def self.prepended(klass) klass.class_eval do include ActionController::Caching include ActionController::Caching::Actions...
@FunkyloverOne it's actually been a while since I implemented this, so I don't have all the details. I know it has been working for me in production for a couple...
Not sure if it still exists in master, but I actually added exactly this in [this PR](https://github.com/rails-api/active_model_serializers/pull/1931). (or use [jsonapi suite](https://jsonapi-suite.github.io/jsonapi_suite) and it's automatic 🙂 )
Did some initial work here: https://github.com/richmolj/graphiti/tree/filter_nil Though the work is pretty straightforward, there is a purpose to disallowing nils. Passing a nil can sometimes cause slow/expensive database queries, and it...
Yeah, I agree with @zeisler - also makes sense because in Spraypaint, I would drop `undefined` and not send as part of the request, but `null` should turn into the...
Appreciate folks chiming in on this one and I think @timkrins is probably correct. I'd be happy to merge a PR but otherwise not on the roadmap - not a...
This is just top of my head so I'd need to dig into it, but I believe this is because of the [catch and re-raise that has to happen for...
All that said, if it's causing a problem for you I'd be happy with a configuration option to disable this
Thanks so much for the work on this @Samsinite and sorry for the delay. I think this looks overall good. My main thought is maybe for `belongs_to` we just modify...