Skip to content

Typed GraphQL Service Layer#1672

Draft
shangyian wants to merge 3343 commits intoDataJunction:mainfrom
shangyian:api-ui-mocks
Draft

Typed GraphQL Service Layer#1672
shangyian wants to merge 3343 commits intoDataJunction:mainfrom
shangyian:api-ui-mocks

Conversation

@shangyian
Copy link
Copy Markdown
Collaborator

Summary

This PR sets up GraphQL code gen and creates a fully-typed GraphQL service layer for the DJ UI. All existing GraphQL methods in DJService.js now delegate to the new typed DJGraphQLService.ts. This provides type safety without changing any existing components.

Test Plan

  • PR has an associated issue: #
  • make check passes
  • make test shows 100% unit test coverage

Deployment Plan

agorajek and others added 30 commits May 19, 2025 17:03
* Bumping DJ to version 0.0.1a99

* Fix lint

---------

Co-authored-by: GitHub Actions Bot <>
* Switch Dialect enum to strings in database

* Rebase

* Add docs for custom transpilation plugins

* Add test coverage and cleanup
* Speed up the recursive dimensions graph CTE query

* Fix

* Add node paths

* Consistency

* Cleanup and get to parity

* Fix additional tests

* Fix linters

* Fix reference link with roles

* Fix linters

* Fix lint

* Fix lint
Co-authored-by: GitHub Actions Bot <>
…on#1390)

* Add graphql schema generation script and seed with generated schema

* Include schema.graphql in packaging
* Add /cubes endpoint to get metadata on all cubes

* Change query param to catalog
…tion#1388)

* Fix the derived expression of count distinct metrics to use the count distinct argument

* Add separate treatment of measures for distinct quantifier aggregations

* Add support to complex expressions inside distinct-agg metrics

* Refactor names and add tests for resolving metric components

* Cleanup

* More naming cleanup

* Add graphql naming refactor

* Update comments and update GraphQL schema
* Add pagination to /cubes endpoint

* don't pull inactive nodes for /cubes/... endpoints
* Add endpoint to list available dialects

* Add support for GraphQL querying of dialects
Co-authored-by: GitHub Actions Bot <>
* Fix an issue where renaming dimensions for measures SQL creates should include both columns

* Fix tests

* Refactor to make it cleaner
…1396)

* Add option to delete materializations by node version.

* Lint and commments addressed.

* Comment addressed plus added node_revision_id to Materialization output.
* Replaces use of Depends(get_session) in get_context() with session middleware, since the former doesn't support teardown in Strawberry.

* Add test for db session middleware

* Fix tests
…ataJunction#1402)

* When a node is deactivated, its materializations should be as well

* Fix tests
Co-authored-by: GitHub Actions Bot <>
* Add filtering on columns for node revisions in GQL

* Add tests for resolvers
* Add docker compose with superset

* Remove comments

* add password init

* Add secret key

* docker compose file that works with superset

* Fix

* Fix names

* Fix

---------

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
Co-authored-by: GitHub Actions Bot <>
Fix the ignore files for unit test workflow.
* Fix test action.

* Add UI code filter.
agorajek and others added 25 commits January 18, 2026 19:46
Co-authored-by: GitHub Actions Bot <>
Co-authored-by: GitHub Actions Bot <actions@github.com>
…ted publishing (DataJunction#1678)

* Set up release and publish flow

* Skip datajunction-query release until OIDC publishing is setup
Co-authored-by: GitHub Actions Bot <actions@github.com>
Co-authored-by: GitHub Actions Bot <actions@github.com>
Co-authored-by: GitHub Actions Bot <actions@github.com>
Co-authored-by: GitHub Actions Bot <actions@github.com>
Co-authored-by: GitHub Actions Bot <actions@github.com>
* Fix npm release by upgrading node

* Fix package.json url to point to the correct repository

* Fix release workflow to fetch previous version tag and generate release notes manually from git log
Co-authored-by: GitHub Actions Bot <actions@github.com>
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