Skip to content

issues Search Results · repo:Netflix/fast_jsonapi language:Ruby

Filter by

242 results
 (67 ms)

242 results

inNetflix/fast_jsonapi (press backspace or delete to remove)

Is it possible to pass serializer name as parameter with a single attribute? attribute :attribute_name, serializer: SerializerName instead of: attribute :attribute_name do |object| SerializerName.new(object.attribute_name) ...
  • Mikkko
  • Opened 
    on May 22, 2022
  • #479

when I write like this attribute :foo, :bar , I get an error wrong number of arguments (given 2, expected 1). This is due to the arity of Proc, Lamda in here. Please, fix it.
  • andiskiy
  • 1
  • Opened 
    on May 15, 2022
  • #478

For anyone looking for a alternative gem to replace this one, check: https://github.com/okuramasafumi/alba
  • pedrofurtado
  • 1
  • Opened 
    on Jul 3, 2021
  • #477

fast_jsonapi version: 1.5 The object serializer is working fine if an array of objects is passed to serializer: def index contents = Content.page params[:page] render json: ContentSerializer.new(contents) ...
  • SahSantoshh
  • 2
  • Opened 
    on Aug 15, 2020
  • #472

The following method in relationship.rb uses a check for respond_to? :map to determine whether an association is plural or not: def ids_hash_from_record_and_relationship(record, params = {}) ...
  • benlieb
  • 1
  • Opened 
    on Aug 1, 2020
  • #471

All numbers are getting transformed into strings. Is this a common behaviour for numbers or do I need to configure the usage of the gem? Database value via rails console image Json value via postman ...
  • deniciocode
  • 1
  • Opened 
    on Jul 27, 2020
  • #469

I have a Reservation model that has_many co-reservations which are also Reservation instances. This sets of a circular (infinite) reference that is bad and sad. Is there a way to do this right?
  • benlieb
  • 1
  • Opened 
    on Jun 29, 2020
  • #468

Hi, Behavior for serializer passed empty collection is to return nil I think it would make more sense for the serializer to return []. Ideally would work with empty Array and empty Relation. ##### Current ...
  • jji-fieldwire
  • 1
  • Opened 
    on Jun 9, 2020
  • #466

Hi, I d like to use this gem, instead of popular AMS, because we would like to have Json:Api format with underscored keys. I m having an issue with our test suite which throws an error. Interestingly ...
  • rafaltrojanowski
  • 2
  • Opened 
    on May 8, 2020
  • #463

new repository https://github.com/fast-jsonapi/fast_jsonapi Renamed to: https://github.com/jsonapi-serializer/jsonapi-serializer via this comment: https://github.com/Netflix/fast_jsonapi/issues/452#issuecomment-592964473 ...
  • davidwparker
  • 1
  • Opened 
    on Apr 23, 2020
  • #462
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue search results · GitHub