@@ -112,28 +112,28 @@ func (r *ctxReader) LookupCounters(ctx context.Context) ([]datastore.Relationshi
112112 return r .delegate .LookupCounters (context .WithoutCancel (ctx ))
113113}
114114
115- func (r * ctxReader ) ReadCaveatByName (ctx context.Context , name string ) (* core.CaveatDefinition , datastore.Revision , error ) {
116- return r .delegate .ReadCaveatByName (context .WithoutCancel (ctx ), name )
115+ func (r * ctxReader ) LegacyReadCaveatByName (ctx context.Context , name string ) (* core.CaveatDefinition , datastore.Revision , error ) {
116+ return r .delegate .LegacyReadCaveatByName (context .WithoutCancel (ctx ), name )
117117}
118118
119- func (r * ctxReader ) ListAllCaveats (ctx context.Context ) ([]datastore.RevisionedCaveat , error ) {
120- return r .delegate .ListAllCaveats (context .WithoutCancel (ctx ))
119+ func (r * ctxReader ) LegacyListAllCaveats (ctx context.Context ) ([]datastore.RevisionedCaveat , error ) {
120+ return r .delegate .LegacyListAllCaveats (context .WithoutCancel (ctx ))
121121}
122122
123- func (r * ctxReader ) LookupCaveatsWithNames (ctx context.Context , caveatNames []string ) ([]datastore.RevisionedCaveat , error ) {
124- return r .delegate .LookupCaveatsWithNames (context .WithoutCancel (ctx ), caveatNames )
123+ func (r * ctxReader ) LegacyLookupCaveatsWithNames (ctx context.Context , caveatNames []string ) ([]datastore.RevisionedCaveat , error ) {
124+ return r .delegate .LegacyLookupCaveatsWithNames (context .WithoutCancel (ctx ), caveatNames )
125125}
126126
127- func (r * ctxReader ) ListAllNamespaces (ctx context.Context ) ([]datastore.RevisionedNamespace , error ) {
128- return r .delegate .ListAllNamespaces (context .WithoutCancel (ctx ))
127+ func (r * ctxReader ) LegacyListAllNamespaces (ctx context.Context ) ([]datastore.RevisionedNamespace , error ) {
128+ return r .delegate .LegacyListAllNamespaces (context .WithoutCancel (ctx ))
129129}
130130
131- func (r * ctxReader ) LookupNamespacesWithNames (ctx context.Context , nsNames []string ) ([]datastore.RevisionedNamespace , error ) {
132- return r .delegate .LookupNamespacesWithNames (context .WithoutCancel (ctx ), nsNames )
131+ func (r * ctxReader ) LegacyLookupNamespacesWithNames (ctx context.Context , nsNames []string ) ([]datastore.RevisionedNamespace , error ) {
132+ return r .delegate .LegacyLookupNamespacesWithNames (context .WithoutCancel (ctx ), nsNames )
133133}
134134
135- func (r * ctxReader ) ReadNamespaceByName (ctx context.Context , nsName string ) (* core.NamespaceDefinition , datastore.Revision , error ) {
136- return r .delegate .ReadNamespaceByName (context .WithoutCancel (ctx ), nsName )
135+ func (r * ctxReader ) LegacyReadNamespaceByName (ctx context.Context , nsName string ) (* core.NamespaceDefinition , datastore.Revision , error ) {
136+ return r .delegate .LegacyReadNamespaceByName (context .WithoutCancel (ctx ), nsName )
137137}
138138
139139func (r * ctxReader ) QueryRelationships (ctx context.Context , filter datastore.RelationshipsFilter , options ... options.QueryOptionsOption ) (datastore.RelationshipIterator , error ) {
@@ -144,6 +144,10 @@ func (r *ctxReader) ReverseQueryRelationships(ctx context.Context, subjectsFilte
144144 return r .delegate .ReverseQueryRelationships (context .WithoutCancel (ctx ), subjectsFilter , options ... )
145145}
146146
147+ func (r * ctxReader ) SchemaReader () (datastore.SchemaReader , error ) {
148+ return r .delegate .SchemaReader ()
149+ }
150+
147151var (
148152 _ datastore.Datastore = (* ctxProxy )(nil )
149153 _ datastore.Reader = (* ctxReader )(nil )
0 commit comments