Subscriptions dynamic topics #6323
Unanswered
rfriend-zilo
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey, when using dynamic topics the documentation here says we can use the
Topic
Attribute on the method parameter and not just the method, however in the code its marked with[AttributeUsage(AttributeTargets.Method)]
Therefore get the error: Attribute 'HotChocolate.Types.TopicAttribute' is not valid on this declaration type. It is valid on 'Method' declarations only.
Any ideas why the documentation would suggest this and yet the code doesn't reflect it ?
Beta Was this translation helpful? Give feedback.
All reactions