Skip to content

Fix for cross-pipeline work #1851

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 5 commits into from
Oct 7, 2020
Merged

Conversation

elizabeth-legros
Copy link
Contributor

@elizabeth-legros elizabeth-legros commented Sep 11, 2020

Needed to make sure that unrecognized node types are always considered "invalid" by the target. Added a filterable attribute NeverAllowedByTarget and made targets mark that as not allowed by default.
Also, slight conceptual change in node validation - theres a bit of a difference between a node being invalid in a given target context and a node reporting a validation error. A validation error is just saying that the node is setup wrong, whereas a target saying a node is invalid is saying that this node is wrong AND wont generate code because its wrong. That means a node can not say that it is "valid" or not (because valid is used to determine code generation) but it can add validation errors to itself that get reported. Naming might need to be a bit more explicit about this distinction internally.

@elizabeth-legros elizabeth-legros marked this pull request as ready for review September 15, 2020 19:58
@elizabeth-legros elizabeth-legros requested review from a team as code owners September 15, 2020 19:58
Copy link
Contributor

@sebastienlagarde sebastienlagarde left a comment

Choose a reason for hiding this comment

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

miss a changelog

@sebastienlagarde
Copy link
Contributor

Any update on this PR ?
Poking @phi-lira for validation

@elizabeth-legros
Copy link
Contributor Author

elizabeth-legros commented Sep 25, 2020

Any update on this PR ?
Poking @phi-lira for validation

Should be ready to go, just poking for reviews

@cdxntchou cdxntchou self-requested a review September 28, 2020 17:18
@marctem marctem requested a review from a team October 6, 2020 18:08
Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

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

Tested a bit, looks good! Made sure different combinations of targets and HDRP being in / not being in the project gave the correct results.

@marctem marctem merged commit b37b4f3 into master Oct 7, 2020
@marctem marctem deleted the sg/fix-unknown-node-type-validation branch October 7, 2020 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants