Skip to content

Support for validating structs created by builder #198

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 2 commits into from
Apr 3, 2024
Merged

Support for validating structs created by builder #198

merged 2 commits into from
Apr 3, 2024

Conversation

ribeiromiranda
Copy link
Contributor

Add support for validating struct built by builder #197

André R. de Miranda added 2 commits December 26, 2023 23:05
Signed-off-by: André R. de Miranda <andre@galgo.tech>
Signed-off-by: André R. de Miranda <andre@galgo.tech>
@ricardozanini ricardozanini linked an issue Dec 27, 2023 that may be closed by this pull request
@ricardozanini ricardozanini requested a review from spolti December 27, 2023 13:10
return context.WithValue(context.Background(), ValidatorContextValue, contextValue)
}

func init() {
// TODO: create states graph to complex check

// val.GetValidator().RegisterStructValidationCtx(val.ValidationWrap(nil, workflowStructLevelValidation), Workflow{})
Copy link
Member

Choose a reason for hiding this comment

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

Can we remove this comment?

Copy link

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Copy link

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@ricardozanini
Copy link
Member

@ribeiromiranda can we merge this?

@ribeiromiranda
Copy link
Contributor Author

ribeiromiranda commented Apr 2, 2024

@ribeiromiranda can we merge this?

@ricardozanini Yes.

@github-actions github-actions bot removed the Stale PR label Apr 3, 2024
@ricardozanini ricardozanini merged commit b1933e7 into serverlessworkflow:main Apr 3, 2024
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.

Support for validating structs created by builder
2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy