-
-
Notifications
You must be signed in to change notification settings - Fork 44
Refactor JSON handling code towards assumeState
#3210
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
Conversation
| test("validateShapeAndGetTypes") { | ||
|
|
||
| val empty = UJsonRep(Obj()) | ||
| assert { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we replace those curly braces?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, this looks confusing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good that Claude can refactor this kind of code :)
I wanted to implement
assumeStatein JSON-RPC. However, this required me to touch the ITF parser. Went down the rabbit hole of refactoring the existing code and moving things around. This is mostly the refactoring commit, including a few new classes in JSON-RPC. The next step is to adapt the ITF parser to deal with Jackson and expressions instead of exclusively traces.make fmt-fix(or had formatting run automatically on all files edited)