We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Attempting to use documentation on a Query Trigger using a markdown file gives an error.
documentation
Query Trigger
However it does seem to support using a string or "heredoc" approach.
mod.fp
mod "local" { title = "z" } trigger "query" "t" { title = "Trigger Title" description = "Trigger Description" documentation = file("README.md") enabled = false schedule = "0 0 * * *" database = "" sql = "" capture "insert" { pipeline = pipeline.p args = { items = self.inserted_rows } } } pipeline "p" { step "transform" "t" { value = "hi" } }
Then run flowpipe server:
flowpipe server
[flowpipe] error unable to start server: Internal Error: Failed to decode mod: Function calls not allowed: Functions may not be called here.
mod "local" { title = "z" } trigger "query" "t" { title = "Trigger Title" description = "Trigger Description" documentation = <<-EOF ## Hello World This is a markdown **text** in a heredoc! EOF enabled = false schedule = "0 0 * * *" database = "" sql = "" capture "insert" { pipeline = pipeline.p args = { items = self.inserted_rows } } } pipeline "p" { step "transform" "t" { value = "hi" } }
[flowpipe] Loaded mod.local [trigger.query.t] Disabled [flowpipe] Press Ctrl C to exit
The text was updated successfully, but these errors were encountered:
Fixed Trigger Documentation doesn't support file function bug. #394.
3db54f1
Trigger's common attributes (title, description, tags, documentation)…
2d4c661
… should allow expresion. #394.
tags
Released in v1.2.1
Sorry, something went wrong.
No branches or pull requests
Context
Attempting to use
documentation
on aQuery Trigger
using a markdown file gives an error.However it does seem to support using a string or "heredoc" approach.
Reproduction
mod.fp
Then run
flowpipe server
:Working Example
The text was updated successfully, but these errors were encountered: