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

Add basic support for actions.yaml reading SQL files as operations #1628

Merged
merged 8 commits into from
Jan 2, 2024

Conversation

Ekrekr
Copy link
Contributor

@Ekrekr Ekrekr commented Dec 29, 2023

The Javascript context in the SQL file is preserved.

The javascript API for adding operations to the session is extended to accept the full action config proto as an option, instead of just the name.

core/actions/operation.ts Show resolved Hide resolved
core/main.ts Show resolved Hide resolved
core/main_test.ts Show resolved Hide resolved
@Ekrekr Ekrekr merged commit 19bed39 into main_v3 Jan 2, 2024
4 checks passed
@Ekrekr Ekrekr deleted the basic-sql-file-as-operations branch January 2, 2024 15:36
moker-spaghetti pushed a commit to moker-spaghetti/dataform that referenced this pull request May 26, 2024
…ataform-co#1628)

* Experiment with basic SQL file support

* Fix canonical target population and tidy test

* Add proof of context to test

* Tidy

* Make the action additions to the session use the JS session interface, to preserve JS API compatability

* Fix bug with action target names

* Fix tslint errors
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.

None yet

2 participants