Thanks to visit codestin.com
Credit goes to github.com

Skip to content

WIP: Projection#4402

Draft
ardatan wants to merge 1 commit into
mainfrom
projection
Draft

WIP: Projection#4402
ardatan wants to merge 1 commit into
mainfrom
projection

Conversation

@ardatan
Copy link
Copy Markdown
Member

@ardatan ardatan commented Mar 18, 2026

No description provided.

@codesandbox
Copy link
Copy Markdown

codesandbox Bot commented Mar 18, 2026

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

@@ -1,26 +1,45 @@
import { GraphQLError } from 'graphql';
import { ExecutionResult, GraphQLError } from 'graphql';
@@ -0,0 +1,366 @@
import { FragmentDefinitionNode, getNamedType, GraphQLEnumType, GraphQLEnumValue, GraphQLNamedOutputType, isAbstractType, isEnumType, isInterfaceType, isObjectType, Kind, SchemaMetaFieldDef, SelectionSetNode, TypeMetaFieldDef } from 'graphql';
Comment on lines +2 to +16
import {
__SCHEMA_FIELD,
__TYPE_FIELD,
CLOSE_BRACE,
CLOSE_BRACKET,
COLON,
COMMA,
FALSE,
NULL,
OPEN_BRACE,
OPEN_BRACKET,
QUOTE,
TRUE,
TYPENAME,
} from './consts.js';
MaybeArray,
YogaInitialContext,
} from '../types.js';
import { DocumentNode } from 'graphql';
TYPENAME,
} from './consts.js';
import { StringifyContext } from './stringify-with-document.js';
import { collectFields } from '@graphql-tools/utils';
@theguild-bot
Copy link
Copy Markdown
Collaborator

theguild-bot commented Mar 18, 2026

Apollo Federation Subgraph Compatibility Results

Federation 1 Support Federation 2 Support
_service🟢
@key (single)🟢
@key (multi)🟢
@key (composite)🟢
repeatable @key🟢
@requires🟢
@provides🟢
federated tracing🟢
@link🟢
@shareable🟢
@tag🟢
@override🟢
@inaccessible🟢
@composeDirective🟢
@interfaceObject🟢

Learn more:

@theguild-bot
Copy link
Copy Markdown
Collaborator

💻 Website Preview

The latest changes are available as preview in: https://8f33da54.envelop.pages.dev

@theguild-bot
Copy link
Copy Markdown
Collaborator

💻 Website Preview

The latest changes are available as preview in: https://pr-4402.graphql-yoga.pages.dev

@theguild-bot
Copy link
Copy Markdown
Collaborator

theguild-bot commented Mar 18, 2026

✅ Yoga Benchmark Results

     ✓ no_errors{mode:graphql}
     ✓ expected_result{mode:graphql}
     ✓ no_errors{mode:graphql-jit}
     ✓ expected_result{mode:graphql-jit}
     ✓ no_errors{mode:graphql-response-cache}
     ✓ expected_result{mode:graphql-response-cache}
     ✓ no_errors{mode:graphql-no-parse-validate-cache}
     ✓ expected_result{mode:graphql-no-parse-validate-cache}
     ✓ no_errors{mode:uws}
     ✓ expected_result{mode:uws}

     checks.......................................: 100.00% ✓ 637960      ✗ 0     
     data_received................................: 2.6 GB  17 MB/s
     data_sent....................................: 108 MB  723 kB/s
     http_req_blocked.............................: avg=1.58µs   min=932ns    med=1.32µs   max=259.02µs p(90)=1.99µs   p(95)=2.28µs  
     http_req_connecting..........................: avg=2ns      min=0s       med=0s       max=159.91µs p(90)=0s       p(95)=0s      
     http_req_duration............................: avg=379.84µs min=217.14µs med=366.86µs max=25.96ms  p(90)=525.89µs p(95)=546.95µs
       { expected_response:true }.................: avg=379.84µs min=217.14µs med=366.86µs max=25.96ms  p(90)=525.89µs p(95)=546.95µs
     ✓ { mode:graphql-jit }.......................: avg=275.96µs min=217.14µs med=268.26µs max=19.1ms   p(90)=296.42µs p(95)=307.2µs 
     ✓ { mode:graphql-no-parse-validate-cache }...: avg=549.16µs min=468.7µs  med=530.99µs max=25.96ms  p(90)=567.45µs p(95)=588.53µs
     ✓ { mode:graphql-response-cache }............: avg=343µs    min=275.72µs med=335.73µs max=10.47ms  p(90)=365.05µs p(95)=375.75µs
     ✓ { mode:graphql }...........................: avg=410.39µs min=328.3µs  med=390.85µs max=16.41ms  p(90)=436.04µs p(95)=507.68µs
     ✓ { mode:uws }...............................: avg=401.77µs min=326.01µs med=387.06µs max=16.66ms  p(90)=418.81µs p(95)=433.76µs
     http_req_failed..............................: 0.00%   ✓ 0           ✗ 318980
     http_req_receiving...........................: avg=36.36µs  min=18.48µs  med=35.79µs  max=2.85ms   p(90)=43.81µs  p(95)=46.43µs 
     http_req_sending.............................: avg=10.77µs  min=5.8µs    med=10.2µs   max=335.77µs p(90)=15.09µs  p(95)=18.7µs  
     http_req_tls_handshaking.....................: avg=0s       min=0s       med=0s       max=0s       p(90)=0s       p(95)=0s      
     http_req_waiting.............................: avg=332.69µs min=179.86µs med=323.1µs  max=25.87ms  p(90)=478.04µs p(95)=497.8µs 
     http_reqs....................................: 318980  2126.511275/s
     iteration_duration...........................: avg=464.75µs min=287.79µs med=449.45µs max=26.14ms  p(90)=611.91µs p(95)=635.7µs 
     iterations...................................: 318980  2126.511275/s
     vus..........................................: 1       min=1         max=1   
     vus_max......................................: 2       min=2         max=2   

@theguild-bot
Copy link
Copy Markdown
Collaborator

💻 Website Preview

The latest changes are available as preview in: https://d9c29f06.envelop.pages.dev

@theguild-bot
Copy link
Copy Markdown
Collaborator

💻 Website Preview

The latest changes are available as preview in: https://pr-4402.graphql-yoga.pages.dev

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.

2 participants