google / google/reflectable.dart

Generalizing `reflectType`

Open
#86 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.