weixin_39884144
weixin_39884144
2020-12-26 06:51

Jbuilder

Can postgres_ext-serializers work with jbuilder?

该提问来源于开源项目:DavyJonesLocker/postgres_ext-serializers

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

5条回答

  • weixin_39522408 weixin_39522408 4月前

    I don't think so, it was designed around ActiveModel::Serializers. I know that wanted to move away from this but to my knowledge this hasn't happened yet.

    点赞 评论 复制链接分享
  • weixin_39577289 weixin_39577289 4月前

    you are correct. With moving away, I plan to have it use a structure similar to AMS, but with proper abstraction it may be possible to support both easily

    点赞 评论 复制链接分享
  • weixin_39577289 weixin_39577289 4月前

    Under further consideration, I want to move this away from AMS, but use AMS styled syntax. At the same time, we'll likely not support jbuilder.

    点赞 评论 复制链接分享
  • weixin_39630909 weixin_39630909 4月前

    I'm curious, could you elaborate on "move this away from AMS, but use AMS styled syntax" would this become a standalone feature / plugin, would we be still be able to plug it on AMS ?

    点赞 评论 复制链接分享
  • weixin_39577289 weixin_39577289 4月前

    The tentative plan is to make postgres_ext-serializers a standalone feature. With that in mind, I am a fan of the way that AMS declares their serialization, so I plan to have it follow that format.

    点赞 评论 复制链接分享

相关推荐