Skip to content

Handle unknown model versions for built-shapes#1312

Merged
kstich merged 1 commit intoidl-2.0from
idl-2-unknown-version
Jul 21, 2022
Merged

Handle unknown model versions for built-shapes#1312
kstich merged 1 commit intoidl-2.0from
idl-2-unknown-version

Conversation

@mtdowling
Copy link
Copy Markdown
Member

The handling of unknown model versions for built shapes needs
to make no assumptions about the version of provided shapes.
Instead, it should use the UNKNOWN version which allows for any
kind of 1.0 or 2.0 trait/shape, but still attempts to convert
1.0 -> 2.0 compatible models when loading shapes. This was a
little haphazard before and we exposed controls to set the
assumed parsed version that have now been removed. I don't think
there's a reasonable use case where automated tooling will set
that right now.

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@mtdowling mtdowling requested a review from a team as a code owner July 21, 2022 20:21
The handling of unknown model versions for built shapes needs
to make no assumptions about the version of provided shapes.
Instead, it should use the UNKNOWN version which allows for any
kind of 1.0 or 2.0 trait/shape, but still attempts to convert
1.0 -> 2.0 compatible models when loading shapes. This was a
little haphazard before and we exposed controls to set the
assumed parsed version that have now been removed. I don't think
there's a reasonable use case where automated tooling will set
that right now.
@mtdowling mtdowling force-pushed the idl-2-unknown-version branch from dd0b094 to 5086534 Compare July 21, 2022 20:29
@mtdowling mtdowling requested a review from kstich July 21, 2022 20:29
@kstich kstich merged commit adf6e3d into idl-2.0 Jul 21, 2022
@mtdowling mtdowling deleted the idl-2-unknown-version branch July 29, 2022 23:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants