traefik / plugindemo

This repository includes an example plugin, for you to use as a reference for developing your own plugins
https://plugins.traefik.io/plugins/628c9ee2108ecc83915d7764/demo-plugin
Apache License 2.0
136 stars 44 forks source link

feature request: list disallowed packages (like "unsafe") #21

Open Candinya opened 6 months ago

Candinya commented 6 months ago

We are writing a traefik plugin and when it's almost done, the local test indicates that package "unsafe" used by one of our dependency cannot be loaded ( import \"unsafe\" error: unable to find source related to: \"unsafe\" ). During the debugging we found issues like traefik/traefik#7459 or traefik/traefik#8844 . With no luck finding solutions, we realize that we have to change the fundamental dependence (in this case, we are using twmb/franz-go to communicate with kafka) .

So, as a kind reminder, what about listing the unsupported packages in this repository's readme (may also in the document), so other developers can review their dependencies before falling into such awkward situations? Thanks :pray: