Skip to content

Refactor/update simple types #350

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 26, 2021
Merged

Conversation

aviveiros11
Copy link

See proposal.

Copy link
Contributor

@macintoshpie macintoshpie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! I think this is great, will hopefully help avoid unexpected issues for folks down the road.

I think we still need to:

  1. get @Ryoken 's recent changes from #349 merged into v3
  2. set the merge target of this PR to v3 and resolve conflicts in this branch
  3. merrrge

@aviveiros11 aviveiros11 changed the base branch from develop to develop-v3 May 24, 2021 13:42
Copy link
Contributor

@JieXiong9119 JieXiong9119 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nonNegativeInteger looks great!
Got two minor questions on the general 'integer/decimal' restriction on Perimeter and ConditionedVolume.

@@ -709,7 +709,7 @@
</xs:annotation>
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:integer">
<xs:extension base="xs:nonNegativeInteger">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is Perimeter limited to integer but not 'decimal`? @nllong

@@ -1794,7 +1794,7 @@
</xs:annotation>
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:integer">
<xs:extension base="xs:nonNegativeInteger">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Again, why is ConditionedVolume limited to integer?

@aviveiros11 aviveiros11 merged commit 473b32c into develop-v3 May 26, 2021
@aviveiros11 aviveiros11 deleted the refactor/update-simple-types branch May 26, 2021 16:13
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.

3 participants