![]() ![]() With this feature enabled Relay more accurately models GraphQL semantics around inline fragments and fragment spreads which have a different type than their parent selection. Precise type refinement: gated by RelayFeatureFlags.ENABLE_PRECISE_TYPE_REFINEMENT.and (applied to a connection edge field) will append or prepend the edge to the listed connections ( 07ccab7, 687d89b, 2719324) An updater is no longer required for following cases: (applied to a field of type ID) will delete the record with the given id from the store. □ New Declarative connection mutations: we added several directives to make common store updates in mutations easier.To indicate "no value can be provided", return undefined instead ( f106ca0) Previously, returning either null or undefined indicated that a value could not be determined, and there was no way to indicate that the field value should be set to null. □ Change missing field handlers for “linked” fields to treat null as null.Thank you for all outstanding contribution to the Relay compiler ( #3182) This new version won't be included in the release, as we are still working on the migration strategies for our OSS customers. The majority of recent changes you can see in the repo are related to the compiler. □ The Relay team is actively working on the new compiler implemented in Rust. holdGC for incremental responses in QueryExecutor.Unsubscribe network requests when releasing temporary retains.Create type utility EntryPointElementConfig.➕ Add Relay log event for when an EntryPointContainer uses an entrypoint component resource.□ Make sure loadQuery requests are deduped when started (vs at render time).Warn when attempting to use an already disposed PreloadedQuery or PreloadedEntryPoint.Stop caching errors at fragment boundaries, which prevented.Prevent usePreloadedQuery from consuming stale cached query refs.useQueryLoader now accepts an initial query reference.➕ Added various minor improvements and fixes to the loadQuery API.In we now use ^16.9.0 || ^17 as a peerDependency.Dispose nested entrypoints when calling dispose().□ Bugfix for validating optimistic updates containing undefined fields ….□ Fix conflicting field value warning.Fix with _typename: other in MatchContainer.□ Fix warning for plural fragment ref pointing to null data.□ Fix prependNode and prependEdge in declarative connection.□ Docs: fix typos of the 'A Guided Tour' page ( #3236).✂ Remove fragment naming enforcement from JS compiler.➕ Added cacheConfig in RequestDescriptor ( #3070) ….Usage: deletedCommentIds ⏱ Made scheduleGC a public function inside RelayModernStore ( #3167). ![]() ➕ Added plural support for directive ( #3135).➕ Added directive for removing the edge from connections ( #3177).Usage: comments $connections, edgeTypeName: "CommentEdgeType"). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |