Add test where `a from b` is directly assigned but contains `user:*` or `user#relation` errors out
Open
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 35
- Forks
- 17
- Avg merge
- 48m
- Merged PRs (30d)
- 10
Description
Add a test that ensures that if b in the case of a from b is directly assigned but contains user:* or user#relation that we error out too.
e.g.
define parent: [folder:*]
define viewer: viewer from parent
define parent: [folder#parent]
define viewer: viewer from parent
Run against the current API and see if it properly validates against this case.
Contributor guide
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.
Research direction
The issue names no file or test path. Start by finding the current API validation tests for direct a from b assignments, then cover the two examples containing user:* and user#relation and confirm that both are rejected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- testing
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100