mirror of
https://github.com/nspcc-dev/neofs-contract.git
synced 2026-03-01 04:28:59 +00:00
Do not duplicate structure of notification events in config.yml and doc.go #101
Labels
No labels
I1
I2
I3
I4
S1
S2
S3
S4
U1
U2
U3
U4
alphabet
audit
balance
blocked
bug
config
container
discussion
documentation
enhancement
feature
go
good first issue
help wanted
neofs
neofsid
netmap
nns
nns
performance
proxy
question
reputation
security
task
test
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nspcc-dev/neofs-contract#101
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @cthulhu-rider on GitHub (Sep 30, 2022).
What's the declarative priority of structure of the contract notification events -
config.ymlordoc.go?I propose to not duplicate places where notifications are defined. Other place can just reference to the definition source. File
config.ymlseems more appropriate for events' documentation to me. We can mention all accompanying information in YAML comments.@alexvanin commented on GitHub (Oct 2, 2022):
Package documentation includes notification description because it automatically included into neofs-spec, see neofs-spec#52.
Consider changing this process before removing notification descriptions from package docs.