Event API: Add FieldReference builder API
Open
v6.1.0
- Dominant language
- Java
- Stars
- 14.9k
- Forks
- 3.5k
- Avg merge
- 19h 14m
- Merged PRs (30d)
- 63
Description
Field references are currently mostly Strings around the codebase, but it may be easier for plugin authors to have a kind of builder API to build a field reference instead of having to concatenate strings.
Proposal:
```
class FieldReference {
static FieldReference paths(String paths ...);
FieldReference with(String path); // returns *new* FieldReference appending the `path`
}
Contributor guide
Assessment
This issue has not been assessed yet.