-
Notifications
You must be signed in to change notification settings - Fork 148
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
Allow mocked google api for local development #111
base: master
Are you sure you want to change the base?
Conversation
It looks like a good idea.
Because you are making changes to the config I think these should be reported in the README. Could you please add some instructions on how to do add a custom url. I am curious to know how did you mock the Google map API server. |
I do a similar thing where I send in a custom |
Hey @fabriziomoscon will do - sorry I only just saw this. Btw did you know that github can squash commits now? The merge button above can be dropped down to choose 'squash and merge' :) |
@moshen I think |
and an example of how to use it.
I've added the docs which should help you @fabriziomoscon understand how I mock the API in my own applications, but also provide help to others wanting to do something similar. If you don't have squash+merge enabled I can squash it tonight ready for merge. |
I've been using this in my own project for a while but I thought it was due a pull request.
I like to be able to develop locally and also not hammer the google API during tests, so this allows a simple override of the gmaps api url using config.