jwillinghalpern / fm-gofer

An easy fetch-like promise library for FileMaker WebViewer apps and widgets.
ISC License
19 stars 2 forks source link

use generic to type the FMGofer response? #32

Open jwillinghalpern opened 1 year ago

jwillinghalpern commented 1 year ago

FMGofer.PerformScript<T>

I'm not sure if this is possible since types are compiled away, but maybe the type could also tell FMGofer whether it should try to parse the response automatically or not. I don't think that's possible, just spitballing. Even if not, I still like the idea.