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
chore: remove __type and isa from shapes #1502
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1502 +/- ##
==========================================
- Coverage 79.80% 79.63% -0.17%
==========================================
Files 298 299 +1
Lines 11502 11634 +132
Branches 2475 2483 +8
==========================================
+ Hits 9179 9265 +86
- Misses 2323 2369 +46
Continue to review full report at Codecov.
|
Can we keep the import { SpecialException } from "client-foo";
try {
...
} catch (e) {
if (SpecialException.isa(e)) {
const key = e.someSpecialKey // someSpecialKey is available in type
}
} |
The Using |
Actually, comparing // ...
// instead of (err instanceof SyntaxError)
} else if (err.name == "SyntaxError") { // (*)
// ... Although |
Both |
Created a feature request for it at #1506 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread. |
Issue #, if available:
Following PRs should be merged before this PR:
add tests folder in overwritablePathnames fix(codegen): add tests folder in overwritablePathnames #1500re-add cloudwatch-events models file fix: re-add cloudwatch-events models file #1501Description of changes:
remove __type and isa from shapes
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.