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

Added circuit_json to snippet schema #206

Merged
merged 6 commits into from
Nov 14, 2024

Conversation

mrudulpatil18
Copy link
Contributor

Issue: #198

Updates in schema, when the snippet is saved. circuitJson generated on running is directly passed for mutation.

One issue i ran into was, if i tried to save a modified snippet which is not run. As circuit json isnt generated yet, there is inconsistencies between circuit_json and current code. I tried to generate circuit_json on clicking save, for mutation, but couldn't figure it out for a long time.

Temporary solution implemented: disable save button, if code is updated and not ran

cc: @seveibar

Copy link

vercel bot commented Nov 14, 2024

@mrudulpatil18 is attempting to deploy a commit to the tscircuit Team on Vercel.

A member of the Team first needs to authorize it.

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.

2 participants