google / google/json_serializable.dart

Handle potentially aliased imports

Open
#19 3 comments 2 reactions 0 assignees View on GitHub
Type: enhancement
Dominant language
Dart
Stars
1.6k
Forks
461
Avg merge
45m
Merged PRs (30d)
1

Description

It's really not safe to reference `Map` or `String` in the case where someone does `import "dart:core" as foo;` – in practice this should be rare.

Same for other types. In general, we just write out the type name w/ out worrying about imports.

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.