-
Notifications
You must be signed in to change notification settings - Fork 655
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
feat(grpc-tools): add omit_serialize_instanceof generator option #2874
base: master
Are you sure you want to change the base?
Conversation
|
1041177
to
c6bb399
Compare
c6bb399
to
7221f81
Compare
The only difference between the separate |
@murgatroid99 I looked into this, and it's certainly possible to fix, but it adds a lot of complexity for little gain. It also no longer allows putting breakpoints on a particular instance of the |
18e457d
to
0a20c2d
Compare
Tests appear to be failing with
and
|
Ignore those failures. They're not related to this change. |
Fixes #2865
This adds a new flag
omit_serialize_instanceof
which, when set, omits theinstanceof
check from the generated JS code. It defaults tofalse
, which retains the current behavior (ie. with the check).