-
Notifications
You must be signed in to change notification settings - Fork 6
Fix explode of Custom Object with a nested list property #469
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
@BHoMBot check compliance |
@FraserGreenroyd to confirm, the following actions are now queued:
|
@BHoMBot check compliance |
@FraserGreenroyd to confirm, the following actions are now queued:
|
FAO: @FraserGreenroyd The check they wish to have dispensation on is project-compliance. If you are providing dispensation on this occasion, please reply with:
|
@BHoMBot this is a DevOps instruction. I am authorising dispensation to be granted on check ref. 16280314097 |
@FraserGreenroyd I have now provided a passing check on reference |
@BHoMBot check versioning |
@FraserGreenroyd to confirm, the following actions are now queued:
|
@BHoMBot check core |
@FraserGreenroyd to confirm, the following actions are now queued:
|
@BHoMBot check versioning |
@FraserGreenroyd to confirm, the following actions are now queued:
|
@FraserGreenroyd to confirm, the following actions are now queued:
|
FAO: @FraserGreenroyd The check they wish to have dispensation on is project-compliance. If you are providing dispensation on this occasion, please reply with:
|
@BHoMBot this is a DevOps instruction. I am authorising dispensation to be granted on check ref. 16281528423 |
@FraserGreenroyd I have now provided a passing check on reference |
To summarise the discussion I just had with @FraserGreenroyd , I feel that this PR doesn't address the underlying problem of the deserialisation of lists of lists that comes from an external serialisation source. So this PR runs the risk of masking the problem instead of fixing it. See below the resulting serialisation of a List of lists fully created within the BHoM vs the one coming coming from a deserialisation of external json: As you can see, the later generates 'messier' json independently of the Explode issue addressed here. If that deserialisation is resolved, the Explode issue should go away. We might still need to improve the Explode component if we find other cases of |
Closing this in favour of this PR - we can reopen this if needed |
Fixes BHoM/BHoM_Engine#2674
Test Files
Available here. The JSON used has come from @tg359 on the linked issue which this PR aims to resolve.
On alpha:
On this PR:
If testing using the provided test script please make sure you redrag the output of
FromJson
into theExplode
component to get it to update. Alternatively, drop a newExplode
component on the canvas and compare the cached one with the one from this PR.E.G: