You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not entirely sure if this behavior is correct.
This is the output I get in the PHP implementation
But the JSON serialization string(26) ""phoneNumber,emailAddress"" seems weird to me.
What did you see instead?
PHP Fatal error: Uncaught Exception: Error occurred during JSON serialization: Field mask element may not have upper-case letter.
The text was updated successfully, but these errors were encountered:
FabioBatSilva
changed the title
PHP Extension - Inconsistent Google\Protobuf\FieldMask behavior
PHP Extension - Field mask element may not have upper-case letter
Jan 20, 2025
The PHP C extension implementation of
Google\Protobuf\FieldMask
has some validations that are not present in the native PHP implementation.C Extension Validations:
protobuf/php/ext/google/protobuf/php-upb.c
Lines 2529 to 2536 in e3ac4c9
protobuf/php/ext/google/protobuf/php-upb.c
Line 1879 in e3ac4c9
What version of protobuf and what language are you using?
Version: main
Language: php
OS: Linux
What did you do?
What did you expect to see
Important
Not entirely sure if this behavior is correct.
This is the output I get in the PHP implementation
But the JSON serialization
string(26) ""phoneNumber,emailAddress""
seems weird to me.What did you see instead?
The text was updated successfully, but these errors were encountered: