argoyle
6ccd7f4f25
feat: add CLAUDE.md for project documentation and guidelines
...
Adds CLAUDE.md to provide comprehensive documentation for the
GraphQL schema registry service, covering architecture, event
sourcing, GraphQL layer, schema merging, authentication,
Cosmo Router integration, and development workflow. Updates
.gitignore to include the claude directory.
2025-11-20 21:36:58 +01:00
argoyle
b1a46f9d4e
Merge branch 'enhance-api-key-handling-logging' into 'main'
...
fix: enhance API key handling and logging in middleware
See merge request unboundsoftware/schemas!623
2025-11-20 21:26:21 +01:00
argoyle
47dbf827f2
fix: add command executor interface for better testing
...
Introduce the CommandExecutor interface to abstract command execution,
allowing for easier mocking in tests. Implement DefaultCommandExecutor
to use the os/exec package for executing commands. Update the
GenerateCosmoRouterConfig function to utilize the new
GenerateCosmoRouterConfigWithExecutor function that accepts a command
executor parameter. Add a MockCommandExecutor for simulating command
execution in unit tests with realistic behavior based on input YAML
files. This enhances test coverage and simplifies error handling.
2025-11-20 21:09:00 +01:00
argoyle
df44ddbb8e
test: enhance assertions for version and subscription config
...
Update version check to validate it is a non-empty string. Improve
assertions for the subscription configuration by ensuring the presence
of required fields and correct types. Adapt checks for routing URLs
and decentralize subscription validation for more robust testing.
These changes ensure better verification of configuration
integrity and correctness in test scenarios.
2025-11-20 18:24:49 +01:00
argoyle
9368d77bc8
feat: add latestSchema query for retrieving schema updates
...
Implements the `latestSchema` query to fetch the latest schema
updates for an organization. This change enhances the GraphQL API by
allowing clients to retrieve the most recent schema version and its
associated subgraphs. The resolver performs necessary access checks,
logs relevant information, and generates the Cosmo router configuration
from fetched subgraph SDLs, returning structured schema update details.
2025-11-20 18:24:36 +01:00
argoyle
4d18cf4175
feat(tests): add unit tests for WebSocket initialization logic
...
Adds unit tests for the WebSocket initialization function to validate
behavior with valid, invalid, and absent API keys. Introduces a mock
cache implementation to simulate organization retrieval based on
hashed API keys. Ensures proper context value setting upon
initialization, enhancing test coverage and reliability for API key
handling in WebSocket connections.
2025-11-20 14:25:02 +01:00
argoyle
bb0c08be06
fix: enhance API key handling and logging in middleware
...
Refactor API key processing to improve clarity and reduce code
duplication. Introduce detailed logging for schema updates and
initializations, capturing relevant context information. Use
background context for async operations to avoid blocking.
Implement organization lookup logic in the WebSocket init
function for consistent API key handling across connections.
2025-11-20 12:58:15 +01:00
argoyle
a9a47c1690
Merge branch 'renovate/gitleaks-gitleaks-8.x' into 'main'
...
chore(deps): update pre-commit hook gitleaks/gitleaks to v8.29.1
See merge request unboundsoftware/schemas!622
2025-11-20 09:21:24 +01:00
Renovate
de073ce2da
chore(deps): update pre-commit hook gitleaks/gitleaks to v8.29.1
2025-11-19 21:58:54 +00:00
argoyle
af045687ae
Merge branch 'next-release' into 'main'
...
chore(release): prepare for v0.7.0
See merge request unboundsoftware/schemas!598
v0.7.0
2025-11-19 12:01:31 +01:00
Unbound Release
c90ee3c9b1
chore(release): prepare for v0.7.0
2025-11-19 12:01:31 +01:00
argoyle
83e99e7d0a
Merge branch 'feat/add-cosmo-router-config-pubsub' into 'main'
...
feat: add Cosmo Router config generation and PubSub support
See merge request unboundsoftware/schemas!621
2025-11-19 11:42:36 +01:00
argoyle
80daed081d
feat: add Cosmo Router config generation and PubSub support
...
Creates a new `GenerateCosmoRouterConfig` function to build and
serialize a Cosmo Router configuration from subgraphs. Implements
PubSub mechanism for managing schema updates, allowing
subscription to updates. Adds Subscription resolver and updates
existing structures to accommodate new functionalities. This
enhances the system's capabilities for dynamic updates and
configuration management.
2025-11-19 11:29:30 +01:00
argoyle
f6e4458efa
Merge branch 'renovate/golang-1.25.4' into 'main'
...
chore(deps): update golang:1.25.4 docker digest to efe81fa
See merge request unboundsoftware/schemas!620
2025-11-18 21:29:05 +01:00
Renovate
11b9a46802
chore(deps): update golang:1.25.4 docker digest to efe81fa
2025-11-18 11:58:47 +00:00
argoyle
d2324d27df
Merge branch 'renovate/github.com-wundergraph-graphql-go-tools-v2-2.x' into 'main'
...
fix(deps): update module github.com/wundergraph/graphql-go-tools/v2 to v2.0.0-rc.238
See merge request unboundsoftware/schemas!619
2025-11-17 10:25:53 +01:00
Renovate
c496ed025e
fix(deps): update module github.com/wundergraph/graphql-go-tools/v2 to v2.0.0-rc.238
2025-11-17 08:58:02 +00:00
argoyle
4773ada816
Merge branch 'renovate/golangci-golangci-lint-2.x' into 'main'
...
chore(deps): update pre-commit hook golangci/golangci-lint to v2.6.2
See merge request unboundsoftware/schemas!618
2025-11-14 16:22:16 +01:00
Renovate
6447a299b3
chore(deps): update pre-commit hook golangci/golangci-lint to v2.6.2
2025-11-14 13:58:47 +00:00
argoyle
b8e9e0d632
Merge branch 'renovate/github.com-alecthomas-kong-1.x' into 'main'
...
fix(deps): update module github.com/alecthomas/kong to v1.13.0
See merge request unboundsoftware/schemas!617
2025-11-14 12:57:15 +01:00
Renovate
3179bb7ae3
fix(deps): update module github.com/alecthomas/kong to v1.13.0
2025-11-13 22:59:09 +00:00
argoyle
73f6fe31d9
Merge branch 'renovate/github.com-99designs-gqlgen-0.x' into 'main'
...
fix(deps): update module github.com/99designs/gqlgen to v0.17.83
See merge request unboundsoftware/schemas!616
2025-11-11 10:50:15 +01:00
Renovate
87eab3a04e
fix(deps): update module github.com/99designs/gqlgen to v0.17.83
2025-11-10 23:10:38 +00:00
argoyle
e751d35e38
Merge branch 'renovate/github.com-wundergraph-graphql-go-tools-v2-2.x' into 'main'
...
fix(deps): update module github.com/wundergraph/graphql-go-tools/v2 to v2.0.0-rc.237
See merge request unboundsoftware/schemas!615
2025-11-10 17:54:01 +01:00
Renovate
84e30c0771
fix(deps): update module github.com/wundergraph/graphql-go-tools/v2 to v2.0.0-rc.237
2025-11-10 13:58:40 +00:00
argoyle
bdb3b80f4a
Merge branch 'renovate/github.com-99designs-gqlgen-0.x' into 'main'
...
fix(deps): update module github.com/99designs/gqlgen to v0.17.82
See merge request unboundsoftware/schemas!614
2025-11-07 08:36:04 +01:00
Renovate
d08c9663fe
fix(deps): update module github.com/99designs/gqlgen to v0.17.82
2025-11-07 01:59:53 +00:00
argoyle
a17b8dd122
Merge branch 'renovate/golang-1.x' into 'main'
...
chore(deps): update golang docker tag to v1.25.4
See merge request unboundsoftware/schemas!613
2025-11-06 07:03:06 +01:00
Renovate
ae8cf15b0a
chore(deps): update golang docker tag to v1.25.4
2025-11-05 22:11:22 +00:00
argoyle
8fd2c1790b
Merge branch 'renovate/gitleaks-gitleaks-8.x' into 'main'
...
chore(deps): update pre-commit hook gitleaks/gitleaks to v8.29.0
See merge request unboundsoftware/schemas!612
2025-11-05 06:52:56 +01:00
Renovate
fe4efa7b97
chore(deps): update pre-commit hook gitleaks/gitleaks to v8.29.0
2025-11-05 01:59:15 +00:00
argoyle
78599baa5b
Merge branch 'renovate/golangci-golangci-lint-2.x' into 'main'
...
chore(deps): update pre-commit hook golangci/golangci-lint to v2.6.1
See merge request unboundsoftware/schemas!611
2025-11-04 13:43:40 +01:00
argoyle
8ad47c2e54
Merge branch 'renovate/golang-1.25.3' into 'main'
...
chore(deps): update golang:1.25.3 docker digest to 9ac0edc
See merge request unboundsoftware/schemas!610
2025-11-04 13:43:05 +01:00
Renovate
ecce66b579
chore(deps): update pre-commit hook golangci/golangci-lint to v2.6.1
2025-11-04 11:59:20 +00:00
Renovate
a26e66649a
chore(deps): update golang:1.25.3 docker digest to 9ac0edc
2025-11-04 11:59:17 +00:00
argoyle
b8b5951883
Merge branch 'renovate/github.com-wundergraph-graphql-go-tools-v2-2.x' into 'main'
...
fix(deps): update module github.com/wundergraph/graphql-go-tools/v2 to v2.0.0-rc.236
See merge request unboundsoftware/schemas!609
2025-10-31 02:14:34 +01:00
Renovate
f860d80a81
fix(deps): update module github.com/wundergraph/graphql-go-tools/v2 to v2.0.0-rc.236
2025-10-31 00:57:50 +00:00
argoyle
d27331cef0
Merge branch 'renovate/golangci-golangci-lint-2.x' into 'main'
...
chore(deps): update pre-commit hook golangci/golangci-lint to v2.6.0
See merge request unboundsoftware/schemas!607
2025-10-30 11:43:43 +01:00
Renovate
e343ff7538
chore(deps): update pre-commit hook golangci/golangci-lint to v2.6.0
2025-10-30 11:19:43 +01:00
argoyle
4fe45bf125
Merge branch 'renovate/github.com-vektah-gqlparser-v2-2.x' into 'main'
...
fix(deps): update module github.com/vektah/gqlparser/v2 to v2.5.31
See merge request unboundsoftware/schemas!608
2025-10-30 07:56:05 +01:00
Renovate
89e35c4ee7
fix(deps): update module github.com/vektah/gqlparser/v2 to v2.5.31
2025-10-30 01:59:20 +00:00
argoyle
0f077a53bb
Merge branch 'renovate/github.com-wundergraph-graphql-go-tools-v2-2.x' into 'main'
...
fix(deps): update module github.com/wundergraph/graphql-go-tools/v2 to v2.0.0-rc.235
See merge request unboundsoftware/schemas!606
2025-10-29 15:03:09 +01:00
Renovate
51fd889f6a
fix(deps): update module github.com/wundergraph/graphql-go-tools/v2 to v2.0.0-rc.235
2025-10-29 12:58:02 +00:00
argoyle
e13c9b1a28
Merge branch 'renovate/goreleaser-goreleaser-2.x' into 'main'
...
chore(deps): update goreleaser/goreleaser docker tag to v2.12.7
See merge request unboundsoftware/schemas!605
2025-10-25 09:55:26 +02:00
argoyle
576a530886
Merge branch 'renovate/github.com-wundergraph-graphql-go-tools-v2-2.x' into 'main'
...
fix(deps): update module github.com/wundergraph/graphql-go-tools/v2 to v2.0.0-rc.234
See merge request unboundsoftware/schemas!604
2025-10-25 09:54:52 +02:00
Renovate
aa9fea580f
chore(deps): update goreleaser/goreleaser docker tag to v2.12.7
2025-10-24 18:57:11 +00:00
Renovate
ccb8a10f92
fix(deps): update module github.com/wundergraph/graphql-go-tools/v2 to v2.0.0-rc.234
2025-10-24 17:57:43 +00:00
argoyle
d86beb8308
Merge branch 'renovate/github.com-wundergraph-graphql-go-tools-v2-2.x' into 'main'
...
fix(deps): update module github.com/wundergraph/graphql-go-tools/v2 to v2.0.0-rc.233
See merge request unboundsoftware/schemas!603
2025-10-23 20:50:39 +02:00
Renovate
429cf6e66d
fix(deps): update module github.com/wundergraph/graphql-go-tools/v2 to v2.0.0-rc.233
2025-10-23 15:58:14 +00:00
argoyle
2dd0ac9392
Merge branch 'renovate/goreleaser-goreleaser-2.x' into 'main'
...
chore(deps): update goreleaser/goreleaser docker tag to v2.12.6
See merge request unboundsoftware/schemas!601
2025-10-22 11:47:28 +02:00