Closed mheap closed 1 month ago
We have handled such cases for other plugins like rate-limiting. All shorthand_fields there had a "translate_backwards" property that we used to check if the new field is present, we don't show the diff for the deprecated one. For the Opentelemetry plugin schema, we don't have any translate_backwards property present, making this a special case. Added screenshots to showcase the difference in schemas.
Is this a major blocker for any customer? If yes, I am willing to handle it in a special manner. Otherwise, my preference would be to add a translation path in the backend schema, just like we have for others to maintain uniformity. @mheap
When using a field defined as a
shorthand_field
in the Kong schema,deck
shows a change indeck diff
anddeck sync
even though the end result is the same.Example using
opentelemetry
(schema):Sample
kong.yaml
:Acceptance Criteria
deck diff
anddeck sync
do not show a diff when run