Replies: 1 comment
-
Yes, this would be great. Are you open to a PR to implement this? |
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
-
Description
I'm using using the
useSitecoreContext
hook like so...Unfortunately,
GenericFieldValue
is too general of a type. I would prefer to be more specific.Expected behavior
I would like to able to do the following:
Possible Fix
I'm currently using Module Augmentation in order to support my current scenario:
However, I would prefer if you guys added support for generics.
Beta Was this translation helpful? Give feedback.
All reactions