-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kinds are limited, and I'm forced to cast them #275
Comments
I don't know about NDK, but in this library That being said, I have experienced problems with the enum. For example, We can leave the I would also suggest changing the type definitions of NDK to accept |
I opened #276 |
Well, what do you know, |
Sometimes I need a new Kind, I'd rather just be using the integer. The Enum just can't keep up with all the kinds that we may want.
eg. I'm trying out ndk. I get this error:
It appears that NDKFilter just uses the nostr-tools filter, which has less kinds than NDKKind..
I attempted to patch nostr-tools but I went into a rabbithole I can't seem to install nostr-tools from a forked github repository source, so, I guess I'll just force cast the additional kinds I need:
can we just get rid of these enums? All it does is make it hard to keep up with the various kinds.
The text was updated successfully, but these errors were encountered: