Skip to content

first working tl2-only combinator#1641

Draft
hrissan wants to merge 1 commit into
masterfrom
gbuteyko/tl2only
Draft

first working tl2-only combinator#1641
hrissan wants to merge 1 commit into
masterfrom
gbuteyko/tl2only

Conversation

@hrissan

@hrissan hrissan commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Motivation:

  1. tl2 functions cannot be in TLO
  2. we want to remove TLO and use PHP serialization for all functions

Client mode:
We should not attempt calling C++ serializers, otherwise everything works the same.

Server mode:
we want first to call factory provided to f$rpc_server_fetch_request2, if factory returns null, fallback to f$rpc_server_fetch_request.

We need factory for 2 reasons:

  1. because we cannot save_pos/restore_pos from PHP code
  2. we need to call internal functions for setting RPC context CurrentTlQuery::get().set_current_tl_function and CurrentRpcServerQuery::get().save

@hrissan hrissan marked this pull request as draft June 23, 2026 19:42
@hrissan hrissan force-pushed the gbuteyko/tl2only branch 5 times, most recently from 5a82c48 to 1871b3a Compare June 24, 2026 16:50
@hrissan hrissan force-pushed the gbuteyko/tl2only branch from 1871b3a to 6a54855 Compare June 24, 2026 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant