ysugimoto / falco

falco is a VCL parser and linter dedicated to Fastly
MIT License
105 stars 29 forks source link

[Feature] (simulator) Inject edge dictionary table in falco simulator #315

Closed Shinyaigeek closed 5 months ago

Shinyaigeek commented 5 months ago

Kind of proposals

You can turn on multiple checkboxes.

Describe the feature

Thank you for developing this great tool! This is a feature request about falco's simulator feature.

I want a feature to inject edge dictionary table in starting falco simulator.

In Fastly VCL, the configured edge dictionaries will be exposed as a VCL table by Fastly. ref: https://www.fastly.com/documentation/guides/concepts/edge-state/dynamic-config/#edge-dictionaries

However falco simulator does not do that, so falco simulator will crush if simulated VCL depends on edge dictionary table.

So I need a feature to inject the edge dictionaries to VCL as tables in falco simulator.