You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There was some comparison of abstractions in the Autzed discord, this client currently opts for TS tuples with [objectType, objectId], but another pattern that came up, which might be fairly realistic to implement on top of this client using the same codegen output types processed another way and a proxy or some object with wildcard getters. Examples of the result, freely extraplorated by me based on the first one as example
p.document('id1').view.check(p.user('abc'))
p.document('id1').edit.assert(p.user('abc'))
p.document.view.resources(p.user('def'), { info: 'this is the caveat context' })
The text was updated successfully, but these errors were encountered:
There was some comparison of abstractions in the Autzed discord, this client currently opts for TS tuples with
[objectType, objectId]
, but another pattern that came up, which might be fairly realistic to implement on top of this client using the same codegen output types processed another way and a proxy or some object with wildcard getters. Examples of the result, freely extraplorated by me based on the first one as exampleThe text was updated successfully, but these errors were encountered: