Add all fields for example manifest file #23
Labels
area/documentation
Improvements or additions to documentation
contributor-wanted
kind/enhancement
a new or improved feature.
Hello, thanks for awesome plugin template!
I am developing some small plugin for rewriting [GET]URL query to [POST]JSON body.
(This is helpful for emulating AWS API Gateway w/o localstack)
I was trying to build my plugin but I was struggling with
import
error.FlowingSPDG/traefik-plugin-query-to-json#6
And I digged into
piceus
's source code, and found out there's abasePkg
field which is not listed unlikeimport
field.https://github.com/traefik/piceus/blob/909a0aa078ceb53ca4af6dd4b299c4efc0b0335e/pkg/core/types.go#L16-L28
(Also
import
field automatically replaces hypen(-
) to underscore(_
) so I think that's why I was struggling)https://github.com/traefik/piceus/blob/909a0aa078ceb53ca4af6dd4b299c4efc0b0335e/pkg/core/yaegi.go#L153-L158
So can we add document for
import/basePkg
field, and note thatimport
field value will be replaced on Yeagi check process?Thank you.
The text was updated successfully, but these errors were encountered: