Comments (2)
Hi,
Yes, the change was made deliberately to improve rendering of big structures when they are identical but contain some ignored fields inside.
Atm there is no way to retrieve the full original entity. This is a use-case that I didn't take into account.
Could you shed some light on what for do you actually need that identical instance? Maybe there is some bigger issue that we should aim to resolve instead.
from diffx.
My use case was to do a diff on an entity and then produce an event with the entity based on the result. For identical entities, it was just an IdentitcalEntityEvent
with the entity itself. Now, when I get a DiffResultObject
, I cannot extract this entity and produce the event easily.
from diffx.
Related Issues (20)
- create scalafix migration rule for latest change in scalatest
- Enable users to control `renderIdentical` parameter over the test Matchers HOT 5
- Add smart license check
- configure lsif
- Comparing JSON objects causes StackOverflowError
- Docs should require versions HOT 5
- provide nix-shell HOT 1
- resolve version conflict in HOT 1
- build on master not working HOT 1
- Setup mima
- setup versioning scheme
- Unable to `modify` nested case class HOT 9
- `modify` creates a `Diff` that fails with a `ClassCastException` when using a set for comparison HOT 2
- Trailing whitespace is ignored
- Provide `Diff[Unit]`
- Scala 3 Auto Derivation doesn't seem to work
- Compare collection by single field using matchByValue HOT 9
- Objects with multi-line toString method are not rendered properly in diff results HOT 3
- Ignore structure inside Option field
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from diffx.