apple / pkl-go

Pkl bindings for the Go programming language
https://pkl-lang.org/go/current/index.html
Apache License 2.0
249 stars 21 forks source link

Update handling of Project EvaluatorSettings for Pkl 0.26.0 #79

Open HT154 opened 1 week ago

HT154 commented 1 week ago

Currently, using pkl-go to evaluate using a PklProject always yields a warning:

warn: Cannot find field on Go struct `pkl.ProjectEvaluatorSettings` matching Pkl property `http`. Ensure the Go structs are up to date with Pkl classes either through codegen or manually adding `pkl` tags.

The http field is populated to avoid the above warning.