panko_serializer icon indicating copy to clipboard operation
panko_serializer copied to clipboard

High Performance JSON Serialization for ActiveRecord & Ruby Objects

Results 30 panko_serializer issues
Sort by recently updated
recently updated
newest added

Some serializers or associations are simple enough to use ActiveRecord's `pluck` function to retrieve objects. `pluck` is much faster than retrieving objects with plain ActiveRecord. I created a gem, [Plucker...

Hi! I want to give heads ups on where I am aiming at taking Panko next and what are the things I am working as of today. The significant features...

Hi I have seen this example on Panko docs: ```ruby posts = Cache.get("/posts") render json: Panko::Response.new( success: true, total_count: posts.count, posts: Panko::JsonValue.from(posts) ) ``` But I currently need to use...

enhancement

Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4. Changelog Sourced from async's changelog. v2.6.4 Fix potential prototype pollution exploit (#1828) Commits c6bdaca Version 2.6.4 8870da9 Update built files 4df6754 update changelog 8f7f903...

dependencies

Posted this one to Slack, but haven't noticed activity there in a few months so reposting into an issue for brevity. Using latest tag `0.7.3`, Ruby 2.6.6. I've been beating...

WIP
waiting for response

In ActiveModelSerializer you can specify a custom root name for an array like so: ```ruby render json :@items, root: 'custom item list' ``` With the following result: ```json { "custom...

enhancement

I have a AR model that has a db column called state, and I want to transform it before serializing the data. That method that transforms data lives on the...

enhancement

Hi, I would like to know how to add customize sorting logic in has_many association? ```ruby class UserSerializer < Panko::Serializer has_many :posts, each_serializer: PostSerializer # posts array need to be...

question

We want to implement a custom method with payload key name as `metricValues`, but the proper ruby method name should be snake_case. ``` ruby class MetricPeriodSerializer < Panko::Serializer attributes :period,...

enhancement
good first issue