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

Discussion -> Should we allow creation calls that accept Json #220

Open
rajagopalans opened this issue Feb 20, 2024 · 0 comments
Open

Discussion -> Should we allow creation calls that accept Json #220

rajagopalans opened this issue Feb 20, 2024 · 0 comments
Assignees

Comments

@rajagopalans
Copy link
Collaborator

Thought arose after doing CreateProbeFromJson.

Do you think it's reasonable to have other CreateXFromJson in the picture and potentially GetJsonFromX that returns a json.Rawmessage

pro -> Allows export/import of artifacts from other environments
con -> Seems like we are giving up what Golang offers in terms of type check control etc, and being a glorified REST API client.

@bwJuniper your comments...

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

2 participants