On Thursday, March 30, 2017 at 11:46:11 PM UTC-5, Aryk Grosz wrote:
>
> What if I want to snakecase params and camelcase out params? Do you happen 
> to know if any of those can do that.
>

I'm sure they all can. It's fairly straightforward to customize 
JSONAPI::Serializers, at least. If by params you mean attribute names, it 
would be as simple as:

def format_name(attribute_name)
  attribute_name.to_s.underscore
end
 

> Ultimately I wanted to try writing an adapter for a project that has 
> traction and right now, JSON API Resources has a lot of forks, watchers, 
> and activity, so I'm much more likely to bump into others using it and 
> thats an important indicator in the early days when there are many 
> scattered libraries.
>

That's understandable. JR is quite nice and fully-featured.
 

> To support Sequel, it would be great if whoever reading this could +1 or 
> thumbs up this post so that the maintainers are more likely to help me get 
> my PR merged:
>

Done. Good luck!  

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to