Skip to content

Conversation

@kervel
Copy link
Collaborator

@kervel kervel commented Sep 12, 2025

** NEW PR ** i merged the other one (#6) in main by accident so github autoclosed it and i can't get it to reopen. so i force-pushed to main, and i create this PR with the same contents.

I tried to protect the main branch (should prevent me doing this in the future) but i don't have the rights. @sneakers-the-rat can you ?

  • patch now does no more roundtrip to json.
  • we introduce node IDs and we keep track of added/removed/updated nodes with ID. this will allow tracking provenance of data in linkml values by keeping track of which node IDs were affected by which patch.
  • add more testcases for diff and patch and fix the bugs found by them
  • patch: take into account linkml instance equality rules when patching

kervel and others added 21 commits September 10, 2025 09:50
…ar slots; add test for null-valued collections
…patch(); expose node_id and trace in Python; adjust CLI and tests
…l PatchTrace; remove JSON roundtrip and ID reconciliation; preserve scalar node IDs on in-place updates
…tore network-based CLI tests; remove dead code
…ead of expect/panic; update tests, CLI, and Python bindings
Improve null handling and diff operations
…kMLValue::Null; add node_id to Null; handle Null in to_json, traversal, and parsing; resolve conflicts
…cting Null directly; handle Null in trace traversal
…ity coverage; revert CLI offline toggle and run tests with network
…h API takes treat_missing_as_null; CLI flag; Python equals/patch args; tests for equality and no-op semantics; preserve scalar node_ids
…} with defaults; make no-op skipping configurable; wire CLI --ignore-noop/--treat-missing-as-null; update Python patch signature; update tests
@kervel
Copy link
Collaborator Author

kervel commented Sep 15, 2025

hello @sneakers-the-rat for me this one is ready to merge ... do you still want to have another look, or shall we merge ?

@kervel
Copy link
Collaborator Author

kervel commented Sep 23, 2025

argh i didn't tag you as a reviewer ..

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.

1 participant