statsig-io / erlang-sdk

The statsig feature flagging and experimentation library for erlang/elixir
ISC License
5 stars 2 forks source link

Fix elixir application definition #20

Closed matt-hobbs-prima closed 1 year ago

matt-hobbs-prima commented 1 year ago

Hi,

We're having some issues using this library in an Elixir application and believe this PR fixes those issues.

Returning an empty array in the def application call causes no applications to be loaded. This causes an error when trying to interact with the application.

I have create a demo project

https://github.com/matt-hobbs-prima/statsig_demo

and written instructions on how to test it with this config change to validate that it works.,

Please let me know if you have any questions.

Thanks

Matt

tore-statsig commented 1 year ago

This is great, thanks. I verified locally as well. I found one more issue, will land that and then publish a new version

Thanks for the pr!