Skip to content
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: custom procedure with custom arguments #42

Merged
merged 1 commit into from
Mar 13, 2025

Conversation

MicBun
Copy link
Contributor

@MicBun MicBun commented Mar 13, 2025

Description

This pull request introduces a new method to the Stream class in the src/contracts-api/stream.ts file. The new method, customProcedureWithArgs, allows for executing custom procedures with specified arguments and returns the results in a specific format.

Key changes:

  • src/contracts-api/stream.ts: Added the customProcedureWithArgs method to the Stream class, which accepts a procedure name and a set of arguments. It executes the procedure and returns the result formatted as dateValue and value.

Related Problem

resolves: #41

How Has This Been Tested?

@MicBun MicBun self-assigned this Mar 13, 2025
@MicBun MicBun linked an issue Mar 13, 2025 that may be closed by this pull request
@MicBun MicBun force-pushed the feat/customProcedureWithArgs branch 2 times, most recently from 64b15a6 to 6bf6702 Compare March 13, 2025 14:12
@MicBun MicBun added the enhancement New feature or request label Mar 13, 2025
@MicBun MicBun marked this pull request as ready for review March 13, 2025 14:14
@MicBun MicBun force-pushed the feat/customProcedureWithArgs branch from 6bf6702 to 34839c5 Compare March 13, 2025 14:24
@MicBun MicBun requested a review from outerlook March 13, 2025 14:25
Copy link

@outerlook
⚠️⚠️⚠️
You must submit the time spent on this PR.
⚠️⚠️⚠️

@MicBun MicBun merged commit 222d7fa into main Mar 13, 2025
2 of 3 checks passed
@MicBun MicBun deleted the feat/customProcedureWithArgs branch March 13, 2025 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Problem: can't call custom procedure with custom arguments
2 participants