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

Functions emulator and fastboot imports #273

Closed
knownasilya opened this issue May 2, 2023 · 6 comments · Fixed by #274
Closed

Functions emulator and fastboot imports #273

knownasilya opened this issue May 2, 2023 · 6 comments · Fixed by #274

Comments

@knownasilya
Copy link

One of the missing pieces is setup for function emulator and fastbootable imports for the functions module. Is this something that you'd merge?

@mikkopaderes
Copy link
Owner

What's the use-case for function? It's a backend thing and not interfaced in the frontend, right?

@mikkopaderes
Copy link
Owner

Ah, I see, I never used it before but there's an API in JS SDK client for it.

@knownasilya
Copy link
Author

would be nice if configuring functions for emulator worked the same as firestore and auth. Also storage too.

@charlesfries
Copy link
Collaborator

@knownasilya Mind clarifying? Are you referring to the options obj that can be passed?

@knownasilya
Copy link
Author

config.environment.js

ENV['ember-cloud-firestore-adapter'].functions = {
      emulator: {
        hostname: 'localhost',
        port: 5001,
      },
    };

@knownasilya
Copy link
Author

Submitted a pr

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