Skip to content

What does SDK-Dependent actually mean? #387

Answered by srenatus
JAForbes asked this question in Wasm
Discussion options

You must be logged in to vote

I'm sorry if this seems like I'm going round in circles, I just don't want to write some large sprawling policies and then find they don't run on the server (without wasm).

SDK-dependent has no meaning for rego policies. They fall under the usual backwards and forwards compatibility regime.

The same is true for wasm bundles built and used with OPA. They can use any built-in they want, and be treated mentally just like a rego bundle.

The incompatibilities only arise when using a wasm SDK. If your policies work with an SDK depends on the (SDK-dependent) built-ins that the SDK provides.

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
5 replies
@JAForbes
Comment options

@srenatus
Comment options

@JAForbes
Comment options

@srenatus
Comment options

@JAForbes
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by JAForbes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Wasm
Labels
None yet
2 participants