Commit 972faa4
committed
refactor(datastore): remove duplicate subscription variable filtering logic
The reserved keys filtering logic was duplicated between utils.ts and
subscription.ts. Since processSubscriptionVariables() in utils.ts already
handles sanitization and filtering of reserved GraphQL keywords, the
duplicate logic in subscription.ts is unnecessary.
This reduces code duplication and ensures consistency in how subscription
variables are processed across the codebase.
All 12 subscription variables tests continue to pass.1 parent 47cbef7 commit 972faa4
1 file changed
Lines changed: 1 addition & 46 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
402 | 402 | | |
403 | 403 | | |
404 | 404 | | |
405 | | - | |
406 | | - | |
407 | | - | |
408 | | - | |
409 | | - | |
410 | | - | |
411 | | - | |
412 | | - | |
413 | | - | |
414 | | - | |
415 | | - | |
416 | | - | |
417 | | - | |
418 | | - | |
419 | | - | |
420 | | - | |
421 | | - | |
422 | | - | |
423 | | - | |
424 | | - | |
425 | | - | |
426 | | - | |
427 | | - | |
428 | | - | |
429 | | - | |
430 | | - | |
431 | | - | |
432 | | - | |
433 | | - | |
434 | | - | |
435 | | - | |
436 | | - | |
437 | | - | |
438 | | - | |
439 | | - | |
440 | | - | |
441 | | - | |
442 | | - | |
443 | | - | |
444 | | - | |
445 | | - | |
446 | | - | |
447 | | - | |
448 | | - | |
449 | | - | |
450 | | - | |
| 405 | + | |
451 | 406 | | |
452 | 407 | | |
453 | 408 | | |
| |||
0 commit comments