Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How are new Scopes managed in envScopes #181

Open
tonicebrian opened this issue Sep 5, 2022 · 1 comment
Open

How are new Scopes managed in envScopes #181

tonicebrian opened this issue Sep 5, 2022 · 1 comment

Comments

@tonicebrian
Copy link

Following recommendations from #147 (comment) I'm using latest commit on master to have gogol in my project. But then all the scope code changed and instead of having storageReadWriteScope like being used in the examples https://github.com/brendanhay/gogol/blob/main/examples/src/Example/Storage.hs#L46 now we have Devstorage'ReadWrite. When trying to use the new symbol I get this compilation error:

Data constructor not in scope:
  Devstorage'ReadWrite :: Proxy scopes0

Can we have an updated example with the new Scope symbols?

@nathankot
Copy link

I am revisiting/updating some old Haskell code and got things compiling with:

storageReadWrite :: Proxy '[Storage.Devstorage'ReadWrite]
storageReadWrite = Proxy

allow storageReadWrite someExistingCredentials

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants