-
Notifications
You must be signed in to change notification settings - Fork 110
Added isAssignableFrom(Type) to TypeChecker
#164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
So there's good news and bad news. 👍 The good news is that everyone that needs to sign a CLA (the pull request submitter and all commit authors) have done so. Everything is all good there. 😕 The bad news is that it appears that one or more commits were authored by someone other than the pull request submitter. We need to confirm that they're okay with their commits being contributed to this project. Please have them confirm that here in the pull request. Note to project maintainer: This is a terminal state, meaning the |
|
CLAs look good, thanks! |
|
Commit messages aren't very descriptive... |
|
@jakemac53 PTAL |
|
@matanlurey FYI... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Kevin, looks nice :)
| bool canDeserialize(DartType type) => _matchesType(type); | ||
|
|
||
| bool _matchesType(DartType type) => | ||
| type.element.library?.isDartCore == true && type.name == 'DateTime'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@matanlurey Dude – this is soooo much better. I was looking into cleaning this up for a while. Love your solution...
* Added `isAssignableFrom(Type)` to TypeChecker * migrate JSON classes to new TypeChecker methods
* Added `isAssignableFrom(Type)` to TypeChecker * migrate JSON classes to new TypeChecker methods
Building off #153