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

Update variables api #29

Closed
wants to merge 8 commits into from
Closed

Update variables api #29

wants to merge 8 commits into from

Conversation

hidde-jan
Copy link
Collaborator

Implement a new API for Variable usage in playbooks and steps

Value string `bson:"value,omitempty" json:"value,omitempty"`
Constant bool `bson:"constant,omitempty" json:"constant,omitempty"`
External bool `bson:"external,omitempty" json:"external,omitempty"`
// Initialize new Variables
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@MaartendeKruijf is this closer to the interface you'd like to see? It's inspired by the CPP map interface.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Looks good updated it with parsing json and pass by pointer

@MaartendeKruijf MaartendeKruijf linked an issue Mar 8, 2024 that may be closed by this pull request
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.

Implement variable handling and API for cacao variables
2 participants