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
What language does this apply to?
PHP (using proto3 with protoc-gen-php)
Describe the problem you are trying to solve.
As a developer of a service client, I would like to be able to identify deprecated message fields instantly in order to not use them anymore and replace them correctly.
Describe the solution you'd like
This could be implemented by adding a @deprecated annotation to the field accessors of the generated code, as already stated in the documentation.
Describe alternatives you've considered
Alternatively, triggering error_log() with a $message_type = E_USER_DEPRECATED would have a similar effect.
Additional context
The text was updated successfully, but these errors were encountered:
What language does this apply to?
PHP (using proto3 with protoc-gen-php)
Describe the problem you are trying to solve.
As a developer of a service client, I would like to be able to identify deprecated message fields instantly in order to not use them anymore and replace them correctly.
Describe the solution you'd like
This could be implemented by adding a
@deprecated
annotation to the field accessors of the generated code, as already stated in the documentation.Describe alternatives you've considered
Alternatively, triggering
error_log()
with a$message_type = E_USER_DEPRECATED
would have a similar effect.Additional context
The text was updated successfully, but these errors were encountered: