Skip to content

Tags: airbnb/viaduct

Tags

v0.16.0

Toggle v0.16.0's commit message
chore: Moves Flags as Seal interface inside Flag Manager (AIRBNB)

Github-Change-Id: 978597
GitOrigin-RevId: 2adbe61c8a3be25ca0dba353977b727706c65412

v0.14.0

Toggle v0.14.0's commit message
feat(viaduct): add TenantRuntimeModule for runtime schema access (AIR…

…BNB)

Introduces a new `TenantRuntimeModule` Guice module that provides tenant code with runtime access to registered Viaduct schemas via the `@RegisteredViaductSchemas` qualifier. This enables MCP tool resolvers (and other tenant-level code) to look up `ViaductSchema` instances by `SchemaId` without directly depending on internal Viaduct runtime classes.

Key changes:
- New `TenantRuntimeModule` in `common/viaduct/tenant/runtime/` with a request-scoped provider that exposes schemas as `Map<SchemaId, Lazy<ViaductSchema>>`
- Exposed `engineRegistry` property on `MTDViaduct` and added `getRegisteredSchemaIds()` to `EngineRegistry`
- Refactored `GetTypeResolver` and `SearchTypesResolver` to use constructor injection with the new schema map instead of accessing `ctx.schema` directly
- Fixed package declaration in `SchemaScopeSetExtensions.kt`
- Added unit tests for both `TenantRuntimeModule` and `GetTypeResolver`

Github-Change-Id: 975842
GitOrigin-RevId: ea45154bdc8ac6b0d96a1d1f0ff1c6ddc00ec5bc

v0.13.0

Toggle v0.13.0's commit message
simplify schema registration and builde... (AIRBNB)

Github-Change-Id: 967572
GitOrigin-RevId: 5a53d2dc76bd5541745a129a3edb2814a2427bc3

v0.12.0

Toggle v0.12.0's commit message
Fix double -SNAPSHOT suffix in version string (AIRBNB)

Github-Change-Id: 970078
GitOrigin-RevId: 32a6e8368f8ce5963e1ddd271fd4eec9b765c081

v0.11.0

Toggle v0.11.0's commit message
Fix nested object fetching and exception handling in `FieldResolver` …

…(AIRBNB)

Updates `FieldResolver` to return `Value<Unit>` from `fetchObject`, `fetchObjectSerially`, and `resolveField` instead of returning `Unit` or `Value<FieldResolutionResult>`. This ensures that the execution chain properly waits for all nested object and list fetching to complete before considering the parent operation finished.

Refines exception handling in `FieldResolver` to ensure proper error bubbling:

- `fetchObject` and `fetchObjectSerially` now allow fatal errors (those not swallowed by `executeField`) to bubble up by propagating exceptions caught in `recover`.
- `executeField` continues to encapsulate `FieldFetchingException` and `InternalEngineException` (returning success for partial results).
- `maybeFetchNestedObject` now waits for all list items to be fetched.

Also updates `IViaductInstrumentation` and related classes to change the `beginFetchObject` return type to `InstrumentationContext<Unit>` to match the new `fetchObject` signature.

Github-Change-Id: 967307
GitOrigin-RevId: acc8aca219f0052faf88908de65d2f66e3e09d60

v0.10.0

Toggle v0.10.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update variable validators to use areTypesCoercible (#217)

Relaxes our validators for required selection set variables to require coercibility rather than strict compatibility. For now this only includes allowing non-list-types to be used where list types are expected, but may be augmented in the future.
Github-Change-Id: 961908

GitOrigin-RevId: 3b6fee8c47d26f496c3a349f37b5f93f69360eba

Co-authored-by: Aileen Chen <[email protected]>

v0.9.0

Toggle v0.9.0's commit message
Using non-snapshot version for demoapps.

v0.8.0

Toggle v0.8.0's commit message
Fix release.yml: use specific version of softprops/action-gh-release

Change from @v2 to @v2.4.1 to comply with repository action policy.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>

v0.7.0

Toggle v0.7.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Sign maven central releases (#121)

Closes #119
Github-Change-Id: 955411

GitOrigin-RevId: 4ef920f7914caaf6c4df031a9f926cbfcd9a8a43

Co-authored-by: Ryan Tanner <[email protected]>

v0.6.6

Toggle v0.6.6's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add GraphiQL IDE to ktor-starter (#114)

Github-Change-Id: 953328
GitOrigin-RevId: 4ff33bea74490a5c404eed67cf7920115c3ce01a

Co-authored-by: Goncalo Almeida <[email protected]>