Skip to content

Commit

Permalink
fix: constraint missing from fetch-cube output
Browse files Browse the repository at this point in the history
  • Loading branch information
tpluscode committed Feb 9, 2024
1 parent e7f32d5 commit 8ae9c7e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/tame-donuts-rest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"barnard59-cube": patch
---

Include `cube:Constraint` when calling `b59 cube fetch-cube`
7 changes: 6 additions & 1 deletion packages/cube/pipeline/fetch-cube.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
code:imports <./query-observations> ;
code:extension "ttl" ;
] .
[
code:imports <./query-constraint> ;
code:extension "ttl" ;
] .

_:endpoint a p:Variable ;
p:name "endpoint" ;
Expand All @@ -35,7 +39,8 @@ _:cube a p:Variable ;
p:stepList
(
[ base:concat\/object (
:queryCube
:queryCube
:queryConstraint
:queryObservationSet
:queryObservations
) ]
Expand Down

0 comments on commit 8ae9c7e

Please sign in to comment.