@@ -841,35 +841,17 @@ message LookupSubjectsRequest {
841841 (buf.validate.field ).required = false
842842 ];
843843
844- // optional_concrete_limit, if non-zero, specifies the limit on the number of
845- // *concrete* (non-wildcard) subjects to return before the stream is closed on the
846- // server side. With the default value of zero, the stream will continue resolving
847- // concrete subjects until exhausted or the stream is closed due to the client or
848- // a network issue.
849- //
850- // NOTE: Wildcard subjects ("*") have special treatment when cursors and limits are used. Because
851- // wildcards can apply to *any* concrete subjects, if a wildcard subject is found within the dataset,
852- // a wildcard subject can be returned for *all* LookupSubjects calls, regardless of the cursor or
853- // limit.
854- //
855- // For example, if wildcards are requested, a wildcard subject exists, there is a specified limit
856- // of 10 concrete subjects, and at least 10 concrete subjects exist, the API will return 11 subjects
857- // in total: the 10 concrete + the wildcard
858- //
859- // Furthermore, if a wildcard has a set of exclusions generated by the dataset,
860- // the exclusions *will respect the cursor* and only a *partial* set of exclusions will be returned
861- // for each invocation of the API.
862- //
863- // ***IT IS UP TO THE CALLER IN THIS CASE TO COMBINE THE EXCLUSIONS IF DESIRED***
844+ // optional_concrete_limit is currently unimplemented for LookupSubjects
845+ // and will return an error as of SpiceDB version 1.40.1. This will
846+ // be implemented in a future version of SpiceDB.
864847 uint32 optional_concrete_limit = 7 [
865848 (validate.rules ).uint32 = {gte : 0 },
866849 (buf.validate.field ).uint32 = {gte : 0 }
867850 ];
868851
869- // optional_cursor, if specified, indicates the cursor after which results should resume being returned.
870- // The cursor can be found on the LookupSubjectsResponse object.
871- //
872- // NOTE: See above for notes about how cursors interact with wildcard subjects.
852+ // optional_cursor is currently unimplemented for LookupSubjects
853+ // and will be ignored as of SpiceDB version 1.40.1. This will
854+ // be implemented in a future version of SpiceDB.
873855 Cursor optional_cursor = 8 ;
874856
875857 // wildcard_option specifies whether wildcards should be returned by LookupSubjects.
0 commit comments