Skip to content

Need body request instead of undefined! #8

Description

@hieuit7

Hello,

When i used your application to generate sdk, i found error with current angular 2 with import

import {Injectable, Inject, Optional} from 'angular2/core';
import {Http, Headers, Request, Response} from 'angular2/http';

and i change it to

import {Injectable, Inject, Optional} from '@angular/core';
import {Http, Headers, Request, Response} from '@angular/http';

it working for me. and i found a problem with method find({});

Cannot read property 'toString' of undefined

Detailed here:
http://stackoverflow.com/questions/38896986/angular-2-rc-5-bootstrap-custom-http-class-typeerror-cannot-read-property-tost

i do as document above and it work.

please glance and fix it 👍 very nice for your app.

Thank!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions