• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

entrecode / ec.sdk / 374 / 2
91%
master: 91%

Build:
Build:
LAST BUILD BRANCH: develop
DEFAULT BRANCH: master
Ran 28 Aug 2017 01:07PM UTC
Files 66
Run time 4s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

28 Aug 2017 12:54PM UTC coverage: 99.326% (-0.6%) from 99.886%
374.2

push

travis-ci

simon-scherzinger
BREAKING CHANGE: feat: LiteEntryResource for better handling of entry title. Used for ec-form. CMS-2911

Since version 0.7.0 the ec.sdk supports LiteEntryResources. Those are used to better support EntryResources in ec-forms. They are a stripped down versions of EntryResources only containing `id`, `_id`, `_entryTitle`, and `getModelTitle()`. The reason to add this was better support of title handling for linked entries.

Migration is straight forward, just add `.id` on all linked entry types when you don't use nested entries.

Before:

```js
publicAPI.entry('myModel', entryID)
.then((entry) => {
  console.log(entry.linkedEntry); // would print `entryID`
});
```

After:

```js
publicAPI.entry('myModel', entryID)
.then((entry) => {
  console.log(entry.linkedEntry.id); // would print `entryID`
});
```

1250 of 1403 branches covered (89.09%)

2651 of 2669 relevant lines covered (99.33%)

33.93 hits per line

Source Files on job 374.2
  • Tree
  • List 0
  • Changed 4
  • Source Changed 2
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 374
  • Travis Job 374.2
  • ec21a79f on github
  • Prev Job for on develop (#373.2)
  • Next Job for on develop (#375.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc