google / google/reflectable.dart
Generalizing `reflectType`
Open
blocked
enhancement
- Dominant language
- Dart
- Stars
- 386
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
Issue https://github.com/dart-lang/sdk/pull/26012 aims at allowing `reflectType(A, [B])` to create a mirror on the type `A`, which implies that `reflectType(A, [B]).reflectedType` is the same as the result of evaluating `A` as a type expression.
Reflectable cannot be updated to have a similar feature without additional primitives (provided by some other core library than 'dart:mirrors'), so this issue must remain blocked at this point.
Contributor guide
Assessment
This issue has not been assessed yet.