You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ExtractSchema is missing some important details (i.e. there is no distinction between "or" and
"pair" types, "option" type is not marked as optional). A new method called "generateSchema" has
been implemented and is intended to replace the "ExtractSchema" method. "generateSchema" provides a
more accurate and uniform schema representation.
BREAKING CHANGE: The schema representation is different between ExtractSchema and generateSchema
method. ExtractSchema will be marked as deprecated and the migration to generateSchema will incur
breaking change.
re #1252, re #1303, re #1304
ExtractSchema is missing some important details (i.e. there is no distinction between "or" and
"pair" types, "option" type is not marked as optional). A new method called "generateSchema" has
been implemented and is intended to replace the "ExtractSchema" method. "generateSchema" provides a
more accurate and uniform schema representation.
BREAKING CHANGE: The schema representation is different between ExtractSchema and generateSchema
method. ExtractSchema will be marked as deprecated and the migration to generateSchema will incur
breaking change.
re #1252, re #1303, re #1304
Description
Schema.ExtractSchema()
method consider theor
type to be as same as thepair
type. This make them indistinguishable.Steps To Reproduce
Schema
with Michelson containing theor
type and call the method.extracted
variable is:pair
type:Expected behavior
The
or
type should be expressed in the extracted schema. For example:The text was updated successfully, but these errors were encountered: