brillout / telefunc

Remote Functions. Instead of API.
https://telefunc.com
MIT License
690 stars 31 forks source link

feat: `config.shield.dev` #111

Closed samuba closed 5 months ago

samuba commented 5 months ago

Over the last months I've ran into a handful more bugs in my project that were basically caused by me not finding them in local development because telefunc does not apply shields in local dev. Thats why I want to enable shields in dev to not have ugly surprises in prod. This addresses https://github.com/brillout/telefunc/issues/78 which was my underlying issue to propose https://github.com/brillout/telefunc/issues/81

I understand that the shield generation takes some time but after testing it in my project on my machine it was not really noticeable, and I gladly eat that caveat if it becomes more noticeable as the project grows.

Next thing I would do if you are cool with the approach is to add it to the docs.

brillout commented 5 months ago

Makes sense!

Next thing I would do if you are cool with the approach is to add it to the docs.

:+1:

samuba commented 5 months ago

Should be good now

brillout commented 5 months ago

Released in 0.1.75.

Neat idea and nice contribution! Other PRs welcome :green_heart: