Replies: 2 comments
-
Hi Nick, this is not required and can safely be removed. (It was initially intended for tag/event/message validation but is now obsolete) |
Beta Was this translation helpful? Give feedback.
0 replies
-
super. relevant changes have been merged into existing spring_boot-gradle-migration PR branch, with constructors and create() method signatures deprecation annotated, their revised implementations calling new nip-less (and null-safe) variants with both maven and gradle builds completing 100% unit and integration tests. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
@tcheeric hi eric, are you aware of
nip
value requirement/need/use bytags
mentioned anywhere in the nostr spec? i couldn't find any requirement/mention there, potentially rendering its inclusion inElementAttribute
(and subsequent propagation intoGenericTag
and handling of null inGenericMessage
/GenericTagDecoder
) as superfluous and furthermore, systemic null nip use/abuse exists as a result.if not necessary, it can cleanly be removed (as exemplified in this branch), along with a
@Deprecated
annotation onGenericTag
methods:with introduction of nip-less variants:
alternately, if reason/value to keep nip field in
ElementAttribute
/GenericTag
, we might consider a default value (say, 1) rather than clumsily/superfluously accommodating null.lmk what you think & no rush.
specific details:
nip
field excluded & ignored in GenericTagnull
manually inserted for nip value into ElementAttribute upon creation (superfluous & bad!)null
again manually passed as parameter into GenericTag creation (superfluous & bad!)Beta Was this translation helpful? Give feedback.
All reactions