Relay is a JavaScript framework for building data-driven React applications.
387 matches across 8 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …v13.0.0/guided-tour/updating-data/graphql-mutations.md | 100 | function commitFeedbackLikeMutation( |
| LOW | …v13.0.0/guided-tour/updating-data/graphql-mutations.md | 158 | function commitCommentCreateMutation( |
| LOW | …v13.0.0/guided-tour/updating-data/graphql-mutations.md | 243 | function commitFeedbackLikeMutation( |
| LOW | …v13.0.0/guided-tour/updating-data/graphql-mutations.md | 295 | function commitFeedbackLikeMutation( |
| LOW | …v13.0.0/guided-tour/updating-data/graphql-mutations.md | 378 | function commitCommentCreateMutation( |
| LOW | …13.0.0/guided-tour/updating-data/local-data-updates.md | 28 | function commitCommentCreateLocally( |
| LOW | …n-v13.0.0/guided-tour/list-data/advanced-pagination.md | 35 | function CombinedFriendsListComponent(props: Props) { |
| LOW | …e/versioned_docs/version-v14.0.0/tutorial/queries-2.md | 167 | export default function PosterDetailsHovercardContents({ |
| LOW | …e/versioned_docs/version-v14.0.0/tutorial/queries-2.md | 262 | export default function PosterDetailsHovercardContents({ |
| LOW | …e/versioned_docs/version-v14.0.0/tutorial/queries-2.md | 284 | export default function PosterDetailsHovercardContents({ |
| LOW | …cs/version-v14.0.0/tutorial/interfaces-polymorphism.md | 123 | function PosterDetailsHovercardContentsBody({ poster }: Props): React.ReactElement { |
| LOW | …ating-data/imperatively-modifying-store-data-legacy.md | 68 | function commitCommentCreateMutation( |
| LOW | …our/updating-data/imperatively-modifying-store-data.md | 86 | function commitCreateFeedbackMutation( |
| LOW | …14.0.0/guided-tour/updating-data/local-data-updates.md | 28 | function commitCommentCreateLocally( |
| LOW | …n-v14.0.0/guided-tour/list-data/advanced-pagination.md | 35 | function CombinedFriendsListComponent(props: Props) { |
| LOW | …e/versioned_docs/version-v15.0.0/tutorial/queries-2.md | 167 | export default function PosterDetailsHovercardContents({ |
| LOW | …e/versioned_docs/version-v15.0.0/tutorial/queries-2.md | 262 | export default function PosterDetailsHovercardContents({ |
| LOW | …e/versioned_docs/version-v15.0.0/tutorial/queries-2.md | 284 | export default function PosterDetailsHovercardContents({ |
| LOW | …cs/version-v15.0.0/tutorial/interfaces-polymorphism.md | 123 | function PosterDetailsHovercardContentsBody({ poster }: Props): React.ReactElement { |
| LOW | …ating-data/imperatively-modifying-store-data-legacy.md | 68 | function commitCommentCreateMutation( |
| LOW | …our/updating-data/imperatively-modifying-store-data.md | 86 | function commitCreateFeedbackMutation( |
| LOW | …15.0.0/guided-tour/updating-data/local-data-updates.md | 28 | function commitCommentCreateLocally( |
| LOW | …n-v15.0.0/guided-tour/list-data/advanced-pagination.md | 35 | function CombinedFriendsListComponent(props: Props) { |
| LOW | …e/versioned_docs/version-v20.1.0/tutorial/queries-2.md | 167 | export default function PosterDetailsHovercardContents({ |
| LOW | …e/versioned_docs/version-v20.1.0/tutorial/queries-2.md | 262 | export default function PosterDetailsHovercardContents({ |
| LOW | …e/versioned_docs/version-v20.1.0/tutorial/queries-2.md | 284 | export default function PosterDetailsHovercardContents({ |
| LOW | …cs/version-v20.1.0/tutorial/interfaces-polymorphism.md | 123 | function PosterDetailsHovercardContentsBody({ poster }: Props): React.ReactElement { |
| LOW | …ating-data/imperatively-modifying-store-data-legacy.md | 68 | function commitCommentCreateMutation( |
| LOW | …our/updating-data/imperatively-modifying-store-data.md | 86 | function commitCreateFeedbackMutation( |
| LOW | …20.1.0/guided-tour/updating-data/local-data-updates.md | 28 | function commitCommentCreateLocally( |
| LOW | …n-v20.1.0/guided-tour/list-data/advanced-pagination.md | 35 | function CombinedFriendsListComponent(props: Props) { |
| LOW | …e/versioned_docs/version-v17.0.0/tutorial/queries-2.md | 167 | export default function PosterDetailsHovercardContents({ |
| LOW | …e/versioned_docs/version-v17.0.0/tutorial/queries-2.md | 262 | export default function PosterDetailsHovercardContents({ |
| LOW | …e/versioned_docs/version-v17.0.0/tutorial/queries-2.md | 284 | export default function PosterDetailsHovercardContents({ |
| LOW | …cs/version-v17.0.0/tutorial/interfaces-polymorphism.md | 123 | function PosterDetailsHovercardContentsBody({ poster }: Props): React.ReactElement { |
| LOW | …ating-data/imperatively-modifying-store-data-legacy.md | 68 | function commitCommentCreateMutation( |
| LOW | …our/updating-data/imperatively-modifying-store-data.md | 86 | function commitCreateFeedbackMutation( |
| LOW | …17.0.0/guided-tour/updating-data/local-data-updates.md | 28 | function commitCommentCreateLocally( |
| LOW | …n-v17.0.0/guided-tour/list-data/advanced-pagination.md | 35 | function CombinedFriendsListComponent(props: Props) { |
| LOW | …e/versioned_docs/version-v16.0.0/tutorial/queries-2.md | 167 | export default function PosterDetailsHovercardContents({ |
| LOW | …e/versioned_docs/version-v16.0.0/tutorial/queries-2.md | 262 | export default function PosterDetailsHovercardContents({ |
| LOW | …e/versioned_docs/version-v16.0.0/tutorial/queries-2.md | 284 | export default function PosterDetailsHovercardContents({ |
| LOW | …cs/version-v16.0.0/tutorial/interfaces-polymorphism.md | 123 | function PosterDetailsHovercardContentsBody({ poster }: Props): React.ReactElement { |
| LOW | …ating-data/imperatively-modifying-store-data-legacy.md | 68 | function commitCommentCreateMutation( |
| LOW | …our/updating-data/imperatively-modifying-store-data.md | 86 | function commitCreateFeedbackMutation( |
| LOW | …16.0.0/guided-tour/updating-data/local-data-updates.md | 28 | function commitCommentCreateLocally( |
| LOW | …n-v16.0.0/guided-tour/list-data/advanced-pagination.md | 35 | function CombinedFriendsListComponent(props: Props) { |
| LOW | …/version-experimental/RelayHooks-AGuidedTourOfRelay.md | 2897 | function CombinedFriendsListComponent(props: Props) { |
| LOW | …e/versioned_docs/version-v18.0.0/tutorial/queries-2.md | 167 | export default function PosterDetailsHovercardContents({ |
| LOW | …e/versioned_docs/version-v18.0.0/tutorial/queries-2.md | 262 | export default function PosterDetailsHovercardContents({ |
| LOW | …e/versioned_docs/version-v18.0.0/tutorial/queries-2.md | 284 | export default function PosterDetailsHovercardContents({ |
| LOW | …cs/version-v18.0.0/tutorial/interfaces-polymorphism.md | 123 | function PosterDetailsHovercardContentsBody({ poster }: Props): React.ReactElement { |
| LOW | …ating-data/imperatively-modifying-store-data-legacy.md | 68 | function commitCommentCreateMutation( |
| LOW | …our/updating-data/imperatively-modifying-store-data.md | 86 | function commitCreateFeedbackMutation( |
| LOW | …18.0.0/guided-tour/updating-data/local-data-updates.md | 28 | function commitCommentCreateLocally( |
| LOW | …n-v18.0.0/guided-tour/list-data/advanced-pagination.md | 35 | function CombinedFriendsListComponent(props: Props) { |
| LOW | …e/versioned_docs/version-v19.0.0/tutorial/queries-2.md | 167 | export default function PosterDetailsHovercardContents({ |
| LOW | …e/versioned_docs/version-v19.0.0/tutorial/queries-2.md | 262 | export default function PosterDetailsHovercardContents({ |
| LOW | …e/versioned_docs/version-v19.0.0/tutorial/queries-2.md | 284 | export default function PosterDetailsHovercardContents({ |
| LOW | …cs/version-v19.0.0/tutorial/interfaces-polymorphism.md | 123 | function PosterDetailsHovercardContentsBody({ poster }: Props): React.ReactElement { |
| 153 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | scripts/dev-compiler.sh | 1 | #!/usr/bin/env bash |
| LOW | …relay-runtime/store/RelayModernFragmentSpecResolver.js | 261 | if (this._subscription) { |
| LOW | packages/relay-runtime/store/RelayStoreSubscriptions.js | 81 | |
| LOW | packages/relay-runtime/store/RelayReader.js | 161 | |
| LOW | packages/relay-runtime/store/RelayReader.js | 1521 | // * null: The type condition did not match |
| LOW | …s/relay-runtime/store/__tests__/readInlineData-test.js | 321 | |
| LOW | …tore/__tests__/RelayModernEnvironment-NoInline-test.js | 61 | loadFragment: (operationReference: unknown) => ?NormalizationRootNode, |
| LOW | …y-runtime/store/__tests__/resolvers/ResolverGC-test.js | 981 | afterFreedGC: (recordIdsInStore: Array<DataID>) => void, |
| LOW | …react-relay/relay-hooks/useQueryLoader_EXPERIMENTAL.js | 201 | const cleanupTimerRef = useRef<?TimeoutID>(null); |
| LOW | packages/react-relay/relay-hooks/useQueryLoader.js | 241 | return () => { |
| LOW | packages/react-relay/relay-hooks/useQueryLoader.js | 281 | // query references that don't end up committing. |
| LOW | packages/react-relay/relay-hooks/useEntryPointLoader.js | 161 | // hidden (by Offscreen API), or fast refresh occurred; |
| LOW | …-relay/relay-hooks/useFragmentInternal_EXPERIMENTAL.js | 621 | } |
| LOW | …-relay/relay-hooks/useFragmentInternal_EXPERIMENTAL.js | 681 | const [didMissUpdates, updatedState] = updates; |
| LOW | packages/react-relay/relay-hooks/loadQuery.js | 141 | // `source` observable is returned. |
| LOW | packages/react-relay/relay-hooks/loadQuery.js | 201 | operation: OperationDescriptor, |
| LOW | …_flowtests__/useBlockingPaginationFragment-flowtest.js | 81 | // $FlowFixMe[react-rule-hook] |
| LOW | …s/__tests__/useFragment-WithDeferAndLiveUpdate-test.js | 61 | const DEFER_LABEL = |
| LOW | .vscode/settings.json | 21 | // compiler first. |
| LOW | compiler/crates/graphql-ir/src/build.rs | 101 | /// The semantic of defining variables on a fragment definition. |
| LOW | …er/crates/relay-transforms/src/refetchable_fragment.rs | 61 | /// This transform synthesizes "refetch" queries for fragments that |
| LOW | compiler/crates/relay-transforms/src/flatten.rs | 41 | type SeenLinkedFields = DashMap<PointerAddress, TransformedValue<Arc<LinkedField>>>; |
| LOW | …s/relay-transforms/src/validate_operation_variables.rs | 21 | pub remove_unused_variables: bool, |
| LOW | compiler/crates/relay-transforms/src/client_edges.rs | 121 | pub backing_field: &'a Selection, |
| LOW | …rates/relay-transforms/src/apply_fragment_arguments.rs | 61 | use crate::match_::SplitOperationMetadata; |
| LOW | compiler/crates/relay-transforms/src/root_variables.rs | 121 | /// fragment. Note that RootArgumentDefinitions in the fragment's |
| LOW | …relay-transforms/src/apply_fragment_arguments/scope.rs | 181 | // |
| LOW | …ler/crates/relay-transforms/src/relay_resolvers/mod.rs | 41 | /// |
| LOW | …rm_assignable_fragment_spreads_in_updatable_queries.rs | 41 | } |
| LOW | …form_assignable_fragment_spreads_in_regular_queries.rs | 181 | /// - If the fragment spread's type is abstract, we want to return an additional |
| LOW | …_fragment_spread/validate_updatable_fragment_spread.rs | 61 | /// Validate many conditions for spreads of updatable fragments: |
| LOW | …elay-transforms/src/match_/split_operation_metadata.rs | 21 | pub static ref DIRECTIVE_SPLIT_OPERATION: DirectiveName = |
| LOW | …elay-transforms/src/match_/split_operation_metadata.rs | 41 | /// } |
| LOW | compiler/crates/relay-typegen/src/lib.rs | 81 | /// The $data type of a fragment definition with the `@relay(mask: false)` directive |
| LOW | compiler/crates/relay-typegen/src/visit.rs | 1181 | && let Some(concrete_type) = enclosing_linked_field_concrete_type |
| LOW | compiler/crates/relay-typegen/src/visit.rs | 2501 | /// ``` |
| LOW | compiler/crates/relay-typegen/src/write.rs | 861 | /// a sentinel value or something which is necessarily valid for assignment. |
| LOW | compiler/crates/relay-codegen/src/printer.rs | 421 | } |
| LOW | compiler/crates/graphql-ir-diff/src/lib.rs | 301 | // { ...on User {id} } == { id on {FBUser, IGUser, ...} } |
| LOW | compiler/crates/graphql-ir-diff/src/lib.rs | 541 | } |
| LOW | compiler/crates/graphql-ir-diff/src/lib.rs | 561 | // } # possible types popped |
| LOW | …rates/relay-compiler/tests/subschema_extraction/mod.rs | 21 | /// //- src/query.js |
| LOW | …rates/relay-compiler/tests/subschema_extraction/mod.rs | 41 | /// |
| LOW | compiler/crates/relay-compiler/src/config.rs | 121 | |
| LOW | compiler/crates/relay-compiler/src/config.rs | 221 | External(PathBuf), |
| LOW | compiler/crates/relay-compiler/src/config.rs | 921 | } |
| LOW | compiler/crates/relay-compiler/src/config.rs | 941 | #[serde(default)] |
| LOW | compiler/crates/relay-compiler/src/config.rs | 1181 | ..Default::default() |
| LOW | compiler/crates/relay-compiler/src/config.rs | 1241 | /// referenced, but won't produce output artifacts. |
| LOW | compiler/crates/relay-compiler/src/config.rs | 1281 | |
| LOW | compiler/crates/relay-compiler/src/config.rs | 1321 | /// Whether to treat all JS module names as relative to './' (true) or not. |
| LOW | compiler/crates/relay-compiler/src/config.rs | 1361 | pub trait OperationPersister { |
| LOW | compiler/crates/relay-compiler/src/status_reporter.rs | 61 | pub enum BuildResult { |
| LOW | compiler/crates/relay-compiler/src/status_reporter.rs | 81 | } |
| LOW | compiler/crates/relay-compiler/src/status_reporter.rs | 101 | base_reporter: Box<dyn StatusReporter + Send + Sync>, |
| LOW | compiler/crates/relay-compiler/src/status_reporter.rs | 121 | /// |
| LOW | …es/relay-compiler/src/build_project/artifact_writer.rs | 41 | /// after a source control update (rebase) to discard stale cached |
| LOW | compiler/crates/graphql-syntax/src/parser.rs | 2341 | self.advance_constant_value()?; // value |
| LOW | …ler/crates/graphql-test-helpers/src/project_fixture.rs | 21 | |
| LOW | …ler/crates/graphql-test-helpers/src/project_fixture.rs | 41 | /// //-++ foo.js |
| 61 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | …mpiler/crates/schema-set/src/find_subset_violations.rs | 819 | // ─────────────────────────────────────────────────────────────── |
| MEDIUM | …mpiler/crates/schema-set/src/find_subset_violations.rs | 821 | // ─────────────────────────────────────────────────────────────── |
| MEDIUM | …mpiler/crates/schema-set/src/find_subset_violations.rs | 847 | // ─────────────────────────────────────────────────────────────── |
| MEDIUM | …mpiler/crates/schema-set/src/find_subset_violations.rs | 849 | // ─────────────────────────────────────────────────────────────── |
| MEDIUM | …mpiler/crates/schema-set/src/find_subset_violations.rs | 907 | // ─────────────────────────────────────────────────────────────── |
| MEDIUM | …mpiler/crates/schema-set/src/find_subset_violations.rs | 909 | // ─────────────────────────────────────────────────────────────── |
| MEDIUM | …mpiler/crates/schema-set/src/find_subset_violations.rs | 969 | // ─────────────────────────────────────────────────────────────── |
| MEDIUM | …mpiler/crates/schema-set/src/find_subset_violations.rs | 971 | // ─────────────────────────────────────────────────────────────── |
| MEDIUM | …mpiler/crates/schema-set/src/find_subset_violations.rs | 1062 | // ─────────────────────────────────────────────────────────────── |
| MEDIUM | …mpiler/crates/schema-set/src/find_subset_violations.rs | 1064 | // ─────────────────────────────────────────────────────────────── |
| MEDIUM | …mpiler/crates/schema-set/src/find_subset_violations.rs | 1087 | // ─────────────────────────────────────────────────────────────── |
| MEDIUM | …mpiler/crates/schema-set/src/find_subset_violations.rs | 1089 | // ─────────────────────────────────────────────────────────────── |
| MEDIUM | …mpiler/crates/schema-set/src/find_subset_violations.rs | 1144 | // ─────────────────────────────────────────────────────────────── |
| MEDIUM | …mpiler/crates/schema-set/src/find_subset_violations.rs | 1146 | // ─────────────────────────────────────────────────────────────── |
| MEDIUM | …mpiler/crates/schema-set/src/find_subset_violations.rs | 1170 | // ─────────────────────────────────────────────────────────────── |
| MEDIUM | …mpiler/crates/schema-set/src/find_subset_violations.rs | 1172 | // ─────────────────────────────────────────────────────────────── |
| MEDIUM | …mpiler/crates/schema-set/src/find_subset_violations.rs | 1202 | // ─────────────────────────────────────────────────────────────── |
| MEDIUM | …mpiler/crates/schema-set/src/find_subset_violations.rs | 1204 | // ─────────────────────────────────────────────────────────────── |
| MEDIUM | …mpiler/crates/schema-set/src/find_subset_violations.rs | 1226 | // ─────────────────────────────────────────────────────────────── |
| MEDIUM | …mpiler/crates/schema-set/src/find_subset_violations.rs | 1228 | // ─────────────────────────────────────────────────────────────── |
| MEDIUM | …mpiler/crates/schema-set/src/find_subset_violations.rs | 1264 | // ─────────────────────────────────────────────────────────────── |
| MEDIUM | …mpiler/crates/schema-set/src/find_subset_violations.rs | 1266 | // ─────────────────────────────────────────────────────────────── |
| MEDIUM | …mpiler/crates/schema-set/src/find_subset_violations.rs | 1359 | // ─────────────────────────────────────────────────────────────── |
| MEDIUM | …mpiler/crates/schema-set/src/find_subset_violations.rs | 1361 | // ─────────────────────────────────────────────────────────────── |
| MEDIUM | …mpiler/crates/schema-set/src/find_subset_violations.rs | 1392 | // ─────────────────────────────────────────────────────────────── |
| MEDIUM | …mpiler/crates/schema-set/src/find_subset_violations.rs | 1394 | // ─────────────────────────────────────────────────────────────── |
| MEDIUM | …mpiler/crates/schema-set/src/find_subset_violations.rs | 1420 | // ─────────────────────────────────────────────────────────────── |
| MEDIUM | …mpiler/crates/schema-set/src/find_subset_violations.rs | 1422 | // ─────────────────────────────────────────────────────────────── |
| MEDIUM | …mpiler/crates/schema-set/src/find_subset_violations.rs | 1461 | // ─────────────────────────────────────────────────────────────── |
| MEDIUM | …mpiler/crates/schema-set/src/find_subset_violations.rs | 1463 | // ─────────────────────────────────────────────────────────────── |
| MEDIUM | …mpiler/crates/schema-set/src/find_subset_violations.rs | 1535 | // ─────────────────────────────────────────────────────────────── |
| MEDIUM | …mpiler/crates/schema-set/src/find_subset_violations.rs | 1537 | // ─────────────────────────────────────────────────────────────── |
| MEDIUM | compiler/crates/schema-coordinates/src/lib.rs | 387 | // ── parse_schema_coordinate (strict) ──────────────────────────── |
| MEDIUM | compiler/crates/schema-coordinates/src/lib.rs | 568 | // ── parse_schema_coordinate_best_effort ───────────────────────── |
| MEDIUM | compiler/crates/schema-coordinates/src/lib.rs | 739 | // ── Display ───────────────────────────────────────────────────── |
| MEDIUM | compiler/crates/schema-coordinates/src/lib.rs | 817 | // ── Ord ─────────────────────────────────────────────────────────── |
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | …docs/version-classic/Classic-APIReference-Container.md | 375 | {this.props.viewer.feed.edges.map( |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …ocs/version-v13.0.0/guides/testing-relay-components.md | 96 | return "Lorem Ipsum" |
| LOW | …ocs/version-v14.0.0/guides/testing-relay-components.md | 96 | return "Lorem Ipsum" |
| LOW | …ocs/version-v15.0.0/guides/testing-relay-components.md | 96 | return "Lorem Ipsum" |
| LOW | …ocs/version-v20.1.0/guides/testing-relay-components.md | 104 | return "Lorem Ipsum" |
| LOW | …ocs/version-v17.0.0/guides/testing-relay-components.md | 104 | return "Lorem Ipsum" |
| LOW | …ocs/version-v16.0.0/guides/testing-relay-components.md | 96 | return "Lorem Ipsum" |
| LOW | …ocs/version-v18.0.0/guides/testing-relay-components.md | 104 | return "Lorem Ipsum" |
| LOW | …ocs/version-v19.0.0/guides/testing-relay-components.md | 104 | return "Lorem Ipsum" |
| LOW | …ocs/version-v20.0.0/guides/testing-relay-components.md | 104 | return "Lorem Ipsum" |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | compiler/crates/graphql-syntax/src/node/type_system.rs | 220 | /// to type method usages that utilize this trait and call into_definition(). |
| MEDIUM | compiler/crates/schema-set/src/set_merges.rs | 509 | // The lowest-common-denominator of a nullable and nonnull output is a nullable output, as the consumer must be |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | compiler/crates/schema/src/in_memory.rs | 799 | // Step 1: build the type_map from type names to type keys |
| LOW | compiler/crates/schema/src/in_memory.rs | 893 | // Step 2: define operation types, directives, and types |
| LOW | compiler/crates/relay-lsp/src/goto_definition.rs | 311 | // Step 1: does extra_data_provider know anything about this field? |
| LOW | compiler/crates/relay-lsp/src/goto_definition.rs | 329 | // Step 2: is field a standalone graphql file? |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | scripts/release-notes.js | 83 | function getData() { |