Closed jandudulski closed 2 years ago
When I define meta on the resource like in docs:
class SerializablePost < JSONAPI::Serializable::Resource type 'posts' meta do { featured: true } end end
and render it:
class PostsController < ActionController::API def show post = Post.find(params[:id]) render jsonapi: post end end
It doesn't include resource meta.
Can you provide a link to sample rails working app with this issue? Just tested with my setup, and all worked.
When I define meta on the resource like in docs:
and render it:
It doesn't include resource meta.