Skip to content

Example doesn't behave as expected #17

Description

@stigbd

When running the ordersCollection example in README.md, I would expect the embedded orders to be written out to log. Instead this is what I get:

{ _links:
   { self: { href: '/orders' },
     next: { href: '/orders?page=2' },
     find: { href: '/orders{?id}', templated: true } },
  _embedded: { orders: [ [Object], [Object] ] },
  currentlyProcessing: 14,
  shippedToday: 20 }

When doing ordersCollection.toXML() the embedded objects are written to log as expected.

I'm on node version v10.9.0.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions