objectionary / objectionary/lints
Self-referencing comparison misbehaves with matching object names
Open
@h1alexbel is already working on this.
Since Jun 22, 2025.
bug
good-title
- Dominant language
- Java
- Stars
- 14
- Forks
- 39
- Avg merge
- 22h 54m
- Merged PRs (30d)
- 90
Description
This is my code:
# Example.
[] > app
a. > foo
b > foo1!
I'm getting this:
The object "$.foo1.a" can't copy itself (self-referencing (Single))
Then, I do this:
# Example.
[] > app
a. > foo
b > bar!
And I get no warnings. It seems, we compare strings incorrectly.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.