Skip to content

Conversation

@konnov
Copy link
Collaborator

@konnov konnov commented Nov 6, 2025

I wanted to implement assumeState in 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.

  • Ran make fmt-fix (or had formatting run automatically on all files edited)

@konnov konnov marked this pull request as ready for review November 6, 2025 13:32
@konnov konnov requested a review from thpani November 6, 2025 13:36
test("validateShapeAndGetTypes") {

val empty = UJsonRep(Obj())
assert {
Copy link
Member

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?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yep, this looks confusing

Copy link
Collaborator Author

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 :)

@konnov konnov enabled auto-merge November 6, 2025 14:45
@konnov konnov merged commit 63fbd10 into main Nov 6, 2025
10 checks passed
@konnov konnov deleted the igor/json-rpc-assume-state branch November 6, 2025 17:17
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.

3 participants