Avatar for the strawberry-graphql user
strawberry-graphql
strawberry
BlogDocsChangelog

Take oneOf directive into account in codegen module

#3652
Comparing
enoua5:codegen-oneof
(
1347bde
) with
main
(
3484480
)
CodSpeed Performance Gauge
0%
Improvements
0
Regressions
0
Untouched
15
New
0
Dropped
0
Ignored
1

Benchmarks

Passed

test_execute_generic_input
tests/benchmarks/test_generic_input.py::test_execute_generic_input
CodSpeed Performance Gauge
+1%
407.3 ms
404.3 ms
test_execute_with_many_fields
tests/benchmarks/test_execute_sync.py::test_execute_with_many_fields
CodSpeed Performance Gauge
+1%
37.2 ms
37 ms
test_execute_complex_schema[50]
tests/benchmarks/test_complex_schema.py::test_execute_complex_schema[50]
CodSpeed Performance Gauge
0%
3.9 s
3.9 s
test_execute
tests/benchmarks/test_execute.py::test_execute
CodSpeed Performance Gauge
0%
529 ms
527.8 ms
test_interface_performance[16]
tests/benchmarks/test_execute.py::test_interface_performance[16]
CodSpeed Performance Gauge
0%
59 ms
58.9 ms
test_execute_with_1000_items
tests/benchmarks/test_execute_sync.py::test_execute_with_1000_items
CodSpeed Performance Gauge
0%
66.5 ms
66.4 ms
test_interface_performance[1]
tests/benchmarks/test_execute.py::test_interface_performance[1]
CodSpeed Performance Gauge
0%
58.8 ms
58.8 ms
test_interface_performance[256]
tests/benchmarks/test_execute.py::test_interface_performance[256]
CodSpeed Performance Gauge
0%
61.1 ms
61.1 ms
test_subscription_long_run[1000]
tests/benchmarks/test_subscriptions.py::test_subscription_long_run[1000]
CodSpeed Performance Gauge
0%
175.8 ms
175.9 ms
test_execute_with_many_fields_and_directives
tests/benchmarks/test_execute_sync.py::test_execute_with_many_fields_and_directives
CodSpeed Performance Gauge
0%
41.9 ms
42 ms
test_execute_with_10_items
tests/benchmarks/test_execute_sync.py::test_execute_with_10_items
CodSpeed Performance Gauge
0%
5.2 ms
5.2 ms
test_execute_with_100_items
tests/benchmarks/test_execute_sync.py::test_execute_with_100_items
CodSpeed Performance Gauge
0%
10.8 ms
10.8 ms
test_subscription
tests/benchmarks/test_subscriptions.py::test_subscription
CodSpeed Performance Gauge
0%
212.8 ms
213.3 ms
test_interface_performance[4096]
tests/benchmarks/test_execute.py::test_interface_performance[4096]
CodSpeed Performance Gauge
0%
67.3 ms
67.5 ms
test_subscription_long_run[20000]
tests/benchmarks/test_subscriptions.py::test_subscription_long_run[20000]
CodSpeed Performance Gauge
-1%
3.4 s
3.5 s

Ignored

test_execute_basicIgnored
tests/benchmarks/test_execute_sync.py::test_execute_basic
CodSpeed Performance Gauge
0%
2.1 ms
2.1 ms

Commits

Click on a commit to change the comparison range
Base
main
3484480
0%
Pass is_one_of into codegen context
cdc943c
4 months ago
by enoua5
0%
Add tests for python plugin
b0479b0
4 months ago
by enoua5
0%
Update typescript plugin
6d4c073
4 months ago
by enoua5
0%
Fix print operation error
d926ba4
4 months ago
by enoua5
0%
Add tests for typenames and aliases
b2094c4
4 months ago
by enoua5
0%
Clean up code coverage
db0b0d1
4 months ago
by enoua5
0%
Create RELEASE.md
5497709
4 months ago
by enoua5
0%
Merge branch 'codegen-oneof' of https://github.com/enoua5/strawberry-3393 into codegen-oneof
625ccc1
4 months ago
by enoua5
0%
Remove the "just in case" branches that don't affect anything
5834355
4 months ago
by enoua5
0%
Make typescript output optional fields for the `never` types
4e57fbd
4 months ago
by enoua5
0%
Explain to codecov that we don't need to test Ellipsis
2854ef3
4 months ago
by enoua5
0%
Update release file to make example match actual current output
1347bde
4 months ago
by enoua5
Home Terms PrivacyDocs