pulumi/pkg/codegen/schema
Zaid Ajaj 2b35d2f9da
[schema] Validate version is provided when package supports packing (#17420)
### Description

When a schema has `SupportsPack` enabled, then it must embed a version.
This test adds a validation that returns an error diagnostic when that
requirement is not met.

Follow up for (but not depending upon) #17409
2024-09-28 23:56:17 +00:00
..
README.md Document code generation concepts (#17162) 2024-09-05 13:12:59 +00:00
bind.go [schema] Validate version is provided when package supports packing (#17420) 2024-09-28 23:56:17 +00:00
docs_parser.go Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00
docs_renderer.go Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00
docs_test.go Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00
loader.go Fix check for disableEntryCache in newPluginLoaderWithOptions (#17314) 2024-09-20 10:35:08 +00:00
loader_cached.go Split caching logic into it's own type to use with LoaderClient (#17118) 2024-08-31 13:25:20 +00:00
loader_cached_test.go Split caching logic into it's own type to use with LoaderClient (#17118) 2024-08-31 13:25:20 +00:00
loader_client.go Support loading parameterized schemas in the schema loader (#17108) 2024-08-30 14:25:29 +00:00
loader_js.go [display] Enable WASM compilation (#16246) 2024-05-24 20:27:56 +00:00
loader_mmap.go [display] Enable WASM compilation (#16246) 2024-05-24 20:27:56 +00:00
loader_schema_test.go Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00
loader_server.go Add schema loader service 2023-07-27 15:03:52 +01:00
loader_test.go Have `Host.Provider` accept a `PackageDescriptor` (#17244) 2024-09-12 13:17:30 +00:00
mock_pulumi_schema.go Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00
package_reference.go Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00
pulumi.json Change parameterization in schemas to base64 strings (#16614) 2024-07-10 15:36:05 +00:00
schema.go Prepare golangci-lint upgrade (#17065) 2024-08-28 07:57:38 +00:00
schema_test.go [schema] Validate version is provided when package supports packing (#17420) 2024-09-28 23:56:17 +00:00

README.md

(schema)=

Pulumi Schema

This package defines Pulumi Schema, a language-neutral specification for cloud resource models. Pulumi Schema is the interface definition language for all Pulumi Packages, and is used as the input to SDK code generation for each supported Pulumi language.