@@ -214,7 +214,7 @@ export const createUnionAccessor = ({
214214 * Key fix for React 19 dev mode: For data-backed proxies, `ownKeys()` only
215215 * returns keys that exist in the cache, not all schema fields. This prevents
216216 * React's prop diffing from triggering selections for fields the user never
217- * requested. The `allowEnumeration ` context flag overrides this behavior for
217+ * requested. The `activeEnumerators ` context flag overrides this behavior for
218218 * helpers like selectFields() that need to enumerate all schema fields.
219219 */
220220const createObjectProxyHandler = (
@@ -223,7 +223,7 @@ const createObjectProxyHandler = (
223223) : ProxyHandler < GeneratedSchemaObject > => {
224224 return {
225225 ownKeys ( target ) {
226- // When allowEnumeration > 0 (e.g., selectFields helper), always
226+ // When activeEnumerators > 0 (e.g., selectFields helper), always
227227 // return all schema keys regardless of cache state.
228228 if ( context . activeEnumerators > 0 ) {
229229 return Reflect . ownKeys ( target ) . filter (
@@ -403,7 +403,7 @@ export const createObjectAccessor = <TSchemaType extends GeneratedSchemaObject>(
403403 if ( ! type ) throw new GQtyError ( `Invalid schema type ${ __type } .` ) ;
404404
405405 // Create a per-proxy handler
406- // Pass context for allowEnumeration flag access
406+ // Pass context for activeEnumerators flag access
407407 const handler = createObjectProxyHandler (
408408 isCacheObject ( data ) ? data : undefined ,
409409 context
0 commit comments