Ruby FHIR Client
There was no specific place that was causing issues; it seemed to me whenever we were making a request via the client we had set up to hit an external API. Taking a quick trip to the issues for the project turned up an issue that looked suspiciously similar but with no actual outcome at the end of the thread barring some workarounds.
I knew that our app was using Oj for JSON serialisation. But I didn't initially notice anything spooky about pretty_generate. A colleague of mine (shoutout Iain) had keener eyes and pulled up the C file that dealt with something spooky sounding in mimic_json.c.
Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.
Simple, Fast, and Declarative Serialization Library for Ruby
In a happy coincidence, we're knee-deep in the middle of a migration of our serialisers to use Blueprinter instead of AMS. One benefit, in this case, is that it lets you explicitly set what generator you're using, like so:
ActiveModel::Serializer and You
3 projects | dev.to | 23 Sep 2022
What are you using for API JSON serialization in 2022?
5 projects | reddit.com/r/ruby | 20 Aug 2022
What is the best way to retrieve all instances of a model, along with it's associations, in an index action when using React (or not Rails Views)?
2 projects | reddit.com/r/rails | 5 Apr 2022
Implement Active Model Serializers with Your Rails API
1 project | reddit.com/r/rubyonrails | 30 Apr 2021
How to use oj with jb in Rails 6?
2 projects | reddit.com/r/rails | 22 Apr 2021