Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Add Union Type validation #373

Merged
merged 14 commits into from
Mar 22, 2022
Merged

Add Union Type validation #373

merged 14 commits into from
Mar 22, 2022

Conversation

maximsmol
Copy link
Contributor

TL;DR

Support for validating Tagged Union types

Type

  • Bug Fix
  • Feature
  • Plugin

Are all requirements met?

  • Code completed
  • Smoke tested
  • Unit tests added
  • Code documentation added
  • Any pending items have an associated Issue

Complete description

https://github.com/maximsmol/flyte/blob/master/rfc/core%20language/sum-types.md

Tracking Issue

flyteorg/flyte#1349

Follow-up issue

NA

@welcome
Copy link

welcome bot commented Dec 3, 2021

Thank you for opening this pull request! 🙌

These tips will help get your PR across the finish line:

  • Most of the repos have a PR template; if not, fill it out to the best of your knowledge.
  • Sign off your commits (Reference: DCO Guide).

@codecov
Copy link

codecov bot commented Mar 21, 2022

Codecov Report

Merging #373 (5c8c3e4) into master (a9a3f5d) will increase coverage by 0.20%.
The diff coverage is 78.82%.

Signed-off-by: Eduardo Apolinario <[email protected]>
@eapolinario eapolinario merged commit abc8a89 into flyteorg:master Mar 22, 2022
@welcome
Copy link

welcome bot commented Mar 22, 2022

Congrats on merging your first pull request! 🎉

@hamersaw hamersaw mentioned this pull request Jun 15, 2022
8 tasks
eapolinario added a commit to eapolinario/flytepropeller that referenced this pull request Aug 9, 2023
* Add Union Type validation

* Update to use string tags

* Fix go.mod + update typing tests

* Restore ambiguity checking, add binding tests

* Add union type promise binding tests

* Do not use NONE as any type

* Ditto

* Implement changed design

* Bump flyteidl to 0.24.0

Signed-off-by: Eduardo Apolinario <[email protected]>

* Fix merge mistake in typing.go

Signed-off-by: Eduardo Apolinario <[email protected]>

* Add tests to bindings_test.go back

Signed-off-by: Eduardo Apolinario <[email protected]>

* Set `val` variable

Signed-off-by: Eduardo Apolinario <[email protected]>

* Lint

Signed-off-by: Eduardo Apolinario <[email protected]>

Co-authored-by: Eduardo Apolinario <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants