pkl icon indicating copy to clipboard operation
pkl copied to clipboard

update 'Loading Modules' example to match config contents

Open igmrrf opened this issue 1 year ago • 0 comments

The example config content: bird { species = "Pigeon" diet = "Seeds" } parrot { species = "Parrot" diet = "Berries" }

But in the 'Loading Modules' example, 'bird.name' was used which in most cases will return an error for those following; –– Pkl Error –– Cannot find property name in object of type Dynamic.

1 | bird.name ^^^^^^^^^ at (repl:pkl1)

Available properties: default diet species

igmrrf avatar Feb 07 '24 06:02 igmrrf