You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Volodymyr Panivko (Jira)" <ji...@apache.org> on 2026/05/15 17:28:00 UTC
[jira] [Resolved] (THRIFT-6004) Emit native types on generated PHP service-level methods (Client/Interface/Processor/Rest)
[ https://issues.apache.org/jira/browse/THRIFT-6004?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Volodymyr Panivko resolved THRIFT-6004.
---------------------------------------
Resolution: Fixed
> Emit native types on generated PHP service-level methods (Client/Interface/Processor/Rest)
> ------------------------------------------------------------------------------------------
>
> Key: THRIFT-6004
> URL: https://issues.apache.org/jira/browse/THRIFT-6004
> Project: Thrift
> Issue Type: Sub-task
> Components: PHP - Compiler
> Reporter: Volodymyr Panivko
> Assignee: Volodymyr Panivko
> Priority: Minor
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Update t_php_generator.cc to emit native PHP parameter and return types on generated service-level methods: Interface If methods, Client::__construct/send_*/recv_*/RPC methods, Processor::__construct/process()/process_*, Rest::__construct/dispatch methods. Maps Thrift IDL signatures to PHP via existing type_to_native() (struct/list/map/scalar). Completes the generator-side typing pass alongside PR-3 of phase G.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)