In the past, Iglu Server would take both supersededBy and supersedes as inputs, and would only output supersededBy. This caused two problems when schemas were promoted from DEV to PROD.
Suppose 1-0-3 supersedes 1-0-2:
If 1-0-2 is in PROD and 1-0-3 is in DEV, then when 1-0-3 is copied to PROD, there will be nothing to tell the PROD Iglu Server that it supersedes 1-0-2.
If neither are in PROD, then when 1-0-2 is copied to PROD,
there will be an error because 1-0-3 is still unknown to PROD Iglu Server.
We will change the behavior so that:
Iglu Server only takes supersedes as an input (that’s ok, because using supersededBy requires patching anyway)
Iglu Server outputs both supersededBy and supersedes
In the past, Iglu Server would take both
supersededBy
andsupersedes
as inputs, and would only outputsupersededBy
. This caused two problems when schemas were promoted from DEV to PROD.Suppose 1-0-3 supersedes 1-0-2:
We will change the behavior so that:
supersedes
as an input (that’s ok, because usingsupersededBy
requires patching anyway)supersededBy
andsupersedes