Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Using $ref across the board

Compare
Choose a tag to compare
@chrusty chrusty released this 29 Sep 21:51
3469322

This release brings some bigger changes. Functinoally the schemas will perform the same, but structurally they may be quite different:

  • Previously most nested messages were reproduced inline. Now their schemas are generated and added to the list of definitions, linked to using a $ref. This means that you will now know exactly which proto message your schema components were generated from.
  • The root schema is also a $ref now, which facilitates edge-cases like recursive self-references (yes this is a thing)