-
Notifications
You must be signed in to change notification settings - Fork 110
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
.Subscribe function never gets invoked #1
Comments
Hi, Jaahmed! You should update to 0.1.7 first. I think thats because you are using version without Observables. Please ping me if you still has this issue after update. |
Don't forget to star the repo if you like it 😉 |
Hi Map and subscribe? Any examples? Thanks in advance..
|
Hi, Jaahmed! Now we work on examples, soon you can see them in Plunker. Restangular.one('accounts', 1234).get()
.map(response =>{
response.newVariable = 'test';
return response;
})
.subscribe(response =>{
console.log(response);
}) |
Hi , Thanks for the reply. Is version 0.1.4 stable ? Will observables be present in it? I am working for a bank ,I need to see if they have version 0.1.7. But they
|
Yes observables are present in v0.1.4 |
Hi, just installed version 0.1.7. It's kind of bit shocking..when I type in Definition not found in d.ts file. But when I use your git hub repo I see Please let me know what could the issue be. I need to complete a task on this. Would be great if you could reply ASAP.
|
Please check this link |
Is it possible if some one can talk via WhatsApp. I can explain the issue.
|
Hi, I have checked your link,also was able to make changes in the git repo Is there a specific version of node and npm to be used?
|
Hi, please check this withConfig link, I think it will help you. Configurating Restangular possible in three ways globaly in module, in service, or in component |
Hi,
When using version 0.0.35 , the Url hits the server and the details can be seen in the network tab. But the .subscribe function doesnot get invoked later ?
ngOnInit()
{
console.log('trying to fetch data....');
this.restangular.all('users').getList()
.subscribe((data: any) => {
console.log('data is fetched....');
console.log(data[0].id);
})
}
The text was updated successfully, but these errors were encountered: