Open rangerscience opened 7 years ago
Among other locations, when retrieving a document, you can have these structures:
"pages"=> {"page"=> [{"page_number"=>"1", "original_template_guid"=>"redacted", "original_template_filename"=>"redacted.pdf"}, {"page_number"=>"2", "original_template_guid"=>"redacted", "original_template_filename"=>"redacted.pdf"}]}, "pages"=> {"page"=> {"page_number"=>"1", "original_template_guid"=>"redacted", "original_template_filename"=>"redacted.pdf"}},
Same for audit_trails, and probably other locations.
audit_trails
This is clearly an artifact from XML conversions, but holy fuck, it is a pain when your schema can be so weirdly different.
We just ran into a production incident because of this. It's very problematic to have inconsistent responses.
Among other locations, when retrieving a document, you can have these structures:
Same for
audit_trails
, and probably other locations.This is clearly an artifact from XML conversions, but holy fuck, it is a pain when your schema can be so weirdly different.