FieldMeta Generic required type arguments
Hi there! I know some of the generics were recently updated in a PR. I'm trying to use FieldMeta and now getting a required type args error for 17 req'd types. Egad! hahah
Is there another generic that should be used?
Basically trying to abstract an info component for displaying meta info.
Thanks!

7 Replies
generous-apricot•9mo ago
Use
AnyFieldMeta type insteadharsh-harlequinOP•9mo ago
ah- cool thanks!!
That did the trick!
other-emerald•9mo ago
You shouldn't have to use
AnyFieldMeta for any reason - what's the goal of this API usage?generous-apricot•9mo ago
I use it for this helper:
passive-yellow•9mo ago
Could consider useFieldContext to avoid passing the field object entirely
generous-apricot•9mo ago
Is this already available in solid?
passive-yellow•9mo ago
Sorry lol idk was thinking in react 🥲