Skip to content

Comments

Allow object references to be overridden by source definition#106

Merged
worksofliam merged 1 commit intomainfrom
feature/obj_refs_override
Mar 11, 2025
Merged

Allow object references to be overridden by source definition#106
worksofliam merged 1 commit intomainfrom
feature/obj_refs_override

Conversation

@worksofliam
Copy link
Member

Previously, if you used .objrefs to define a reference to an object, but the source existed for that object, there would be two resolved objects. This is wrong.

Now with this PR, if you have source code to an object that is defined in the references file, then the source code will remove the reference and it will be logged against the file so the user is aware.

A test case is provided.

Signed-off-by: worksofliam <mrliamallan@live.co.uk>
@worksofliam worksofliam merged commit 45f9eea into main Mar 11, 2025
4 checks passed
@worksofliam worksofliam deleted the feature/obj_refs_override branch March 11, 2025 15:29
@edmundreinhardt
Copy link
Member

Awesome!

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.

2 participants