jerryshao commented on code in PR #15025:
URL: https://github.com/apache/gravitino/pull/15025#discussion_r4613654618


##########
docs/open-api/domains.yaml:
##########
@@ -835,12 +832,7 @@ components:
         name:
           type: string
           minLength: 1
-        value:
-          type: string
-          nullable: true
-          minLength: 1
-          maxLength: 256
-          description: Exact assignment value; null binds any effective 
assignment of the tag.
+          description: The name of the backing tag.

Review Comment:
   Fixed in 90014d4560: the create `BackingTag` schema is now one closed object 
(`name`, `create`) and the PUT `backingTag` object is closed too, still 
nullable.
   
   _🤖 Addressed by [Claude Code](https://claude.com/claude-code)_



##########
docs/manage-domains-in-gravitino.md:
##########
@@ -605,12 +603,13 @@ unbound = domain.update_backing_tag(None)
 
 Members are managed through the existing tag API. There is no separate Domain 
add/remove-member
 endpoint. In the assignment examples, `model` is a loaded model named 
`models.sales.forecast` and
-`department` is an existing tag allowing `finance`. See [tag 
operations](./manage-tags-in-gravitino.md)
+`finance` is the backing tag of the Finance domain. See [tag 
operations](./manage-tags-in-gravitino.md)
 for creating constrained tags and assigning them to catalogs or schemas.
 
 ### Assign a Backing Tag to an Object
 
-Assign the Finance backing-tag value to the model using normal tag 
permissions. The same API
+Assign the Finance backing tag to the model using normal tag permissions. 
Assign it without a value;

Review Comment:
   Fixed in 90014d4560: the assignment section and `docs/domains.md` now say 
the assignment follows the tag constraint (a constrained tag needs an allowed 
value), while membership uses only the tag presence.
   
   _🤖 Addressed by [Claude Code](https://claude.com/claude-code)_



##########
docs/manage-domains-in-gravitino.md:
##########
@@ -656,7 +655,7 @@ effective again, so this does not necessarily remove 
inherited Domain membership
 ```shell
 curl --fail-with-body -u anonymous:dummy -X POST -H 'Accept: 
application/vnd.gravitino.v2+json' \
   -H 'Content-Type: application/vnd.gravitino.v2+json' \
-  -d 
'{"tagsToAdd":[],"tagsToRemove":[{"name":"department","value":"finance"}]}' \
+  -d '{"tagsToAdd":[],"tagsToRemove":[{"name":"finance"}]}' \

Review Comment:
   Fixed in 90014d4560: the REST, Java and Python removal examples now use the 
v1 name-based removal, and the text notes that v2 removes only the given pair.
   
   _🤖 Addressed by [Claude Code](https://claude.com/claude-code)_



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to