Omar Kamel

Results 205 comments of Omar Kamel

i think you'd just have to special-case records for this. actually, are you getting the display string of the element or the type? and whats the difference between `getDisplayString()` and...

I suspect that won't work - you need to await within the try or else you're back to normal read()

Yeah. For example; what is all the "2" stuff? why does it matter? whats the difference? how can i look up a package? a specific class? how do tell if...

> It's related. Writing generated can be though in part because Analyzer needs to be learned. > > But in terms of code-gen, I think APIs are that crutially missing...

The fix was made in code a while ago - I just can't publish a version with the current state of the project at the moment. That said, if you...

Hold on; are normal admin users different from normal users? Or is that the application key?

Well, clearly I'm missing _something_

Sorry, i didnt realize i got a response. Here's an example: ```dart @annotation abstract class Foo { factory Foo() = _$Foo; Future getBar(BarData data); // needs to know how to...

in particular, it would be nice to be able to be able to, in my generator, do something like ```dart String generateJsonSerializersForType(DartType type, /*JsonSerializable or JsonKey*/ options); ``` and just...

Reference: https://github.com/dart-lang/source_gen/issues/787