
Company News
Socket Joins New OpenJS Program to Fund Node.js Security Work
Socket is joining the OpenJS Security Stewardship Program to fund Node.js vulnerability research, maintainer remediation, and security releases.
@galaxy-stack/orbit-graphql-federation
Advanced tools
Part of the Orbit framework — a NestJS-style backend framework for Bun.
bun add @galaxy-stack/orbit-graphql-federation
Apollo Federation (v2) subgraph support for the Orbit GraphQL package — @key entities, _service/_entities federation queries, and directive generation.
bun add @galaxy-stack/orbit-graphql-federation @galaxy-stack/orbit-graphql graphql
import 'reflect-metadata';
import { FederationSchemaBuilder } from '@galaxy-stack/orbit-graphql-federation';
import { Key, External, Provides } from '@galaxy-stack/orbit-graphql-federation';
import { GraphQLObjectType, GraphQLString } from 'graphql';
@Key('upc')
class Product {}
const builder = new FederationSchemaBuilder();
builder.registerEntity(Product, new GraphQLObjectType({
name: 'Product',
fields: { upc: { type: GraphQLString }, name: { type: GraphQLString } },
}));
builder.registerReferenceResolver('Product', async (rep) => {
return products.find((p) => p.upc === rep.upc) ?? null;
});
const schema = builder.buildSubgraphSchema();
// schema exposes _service { sdl } and _entities(representations)
Class-level: @Key(fields), @Extends(), @Shareable(), @Inaccessible(), @Tag(name), @Directive(sdl)
Property-level: @External(), @Requires(fields), @Provides(fields), @Shareable(), @Inaccessible(), @Override(from), @Tag(name)
Method-level: @ResolveReference() (alias @ReferenceResolver())
_entities stamps __typename on resolved entities so the _Entity union resolves even when reference resolvers omit it.generateFederatedSDL prints the federated schema (including _service and _entities), so entity-only subgraphs produce valid SDL.{ service, rpc } (GrpcMethod decorator contract) and { service, method }.FAQs
GraphQL Federation support for Orbit framework
We found that @galaxy-stack/orbit-graphql-federation demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Company News
Socket is joining the OpenJS Security Stewardship Program to fund Node.js vulnerability research, maintainer remediation, and security releases.

Security News
Two compromised GitHub Actions were re-enabled with malicious tags intact, exposing thousands of downstream repositories to Mini Shai-Hulud.

Research
/Security News
A malicious Firefox extension fetches its payload after installation to evade detection, steal Google session cookies, and automate account takeover.