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: add endpoint to get interactions #32

Merged
merged 3 commits into from
Dec 7, 2022

Conversation

miketonks-form3
Copy link
Contributor

@miketonks-form3 miketonks-form3 commented Nov 30, 2022

Adds a new endpoint to get interaction details for a specified interaction.

If the RECORD_HISTORY option is set to true (via env config) then the proxy will additional record in memory the requests made for each interaction, and return it with the interaction details.

This allows us to capture details of the requests made in our integration tests.

Investment time project: https://github.com/form3tech/investment-time-project/issues/62

Co-authored-by: Kevin Intriago [email protected]

@miketonks-form3 miketonks-form3 requested a review from a team as a code owner November 30, 2022 17:12
@miketonks-form3
Copy link
Contributor Author

Updated PR to add integration test, and support for the new endpoint in the client library.

Additionally, reduced the return data to avoid exposing internal data structures (constraints, modifiers, definition).

@miketonks-form3 miketonks-form3 force-pushed the mike-read-interactions-rebased branch from 70b1ea4 to 028fe85 Compare December 3, 2022 18:31
Additionally, reduced the returned data on the interaction, to avoid exposing internal data structures
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.

3 participants