Skip to content
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

Add validation tags; Write custom unmarshal that triggers validation #18

Open
github-actions bot opened this issue Jun 4, 2024 · 1 comment
Open
Assignees

Comments

@github-actions
Copy link

github-actions bot commented Jun 4, 2024

State is a dto for airbyte state serialization


https://github.com/piyushsingariya/Shift/blob/47dd1e877a0977bfedf7df26516219256d669e62/types/state.go#L20-L25


This issue was generated by todo-issue based on a TODO comment in 47dd1e8. It's been assigned to @piyushsingariya because they committed the code.
Copy link
Author

Add validation tags; Write custom unmarshal that triggers validation

State is a dto for airbyte state serialization


Gear5/types/state.go

Lines 22 to 27 in ce68bd1

// TODO: Add validation tags; Write custom unmarshal that triggers validation
// State is a dto for airbyte state serialization
type State struct {
*sync.Mutex `json:"-"`
Type StateType `json:"type"`
Global any `json:"global,omitempty"`


This comment was generated by todo-issue based on a TODO comment in ce68bd1. It's been assigned to @piyushsingariya because they committed the code.

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

No branches or pull requests

1 participant