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
stormy-gold•6mo ago
Use
AnyFieldMeta
type insteadother-emeraldOP•6mo ago
ah- cool thanks!!
That did the trick!
flat-fuchsia•6mo ago
You shouldn't have to use
AnyFieldMeta
for any reason - what's the goal of this API usage?stormy-gold•6mo ago
I use it for this helper:
manual-pink•6mo ago
Could consider useFieldContext to avoid passing the field object entirely
stormy-gold•6mo ago
Is this already available in solid?
manual-pink•6mo ago
Sorry lol idk was thinking in react 🥲