getLatestMinorVerSchema in AzureSchemaInfoStore returns the expanded schema reather than compact schema
Issue: The getLatestMinorVerSchema
calls AzureSchemaStore to fetch the actual schema. Now the schema stored in blob storage is expanded one, with resolved references. But when we check the breaking changes, we have to rely on the non-expanded (aka compact schema) only. But currently we don't store the actual compact schema anywhere in case of azure, hence the checks for breaking
changes would always fail.
Fix: The FlattenedSchemInfo
object should also include the original, not expanded (compact) schema passed by user. This compact schema only would be used in future checks for breaking changes.
Edited by Aman Verma