question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Document "Octane" usage

See original GitHub issue

This Ember Octane the default will be to use ES6 classes for models. The README of this project will have to be adjusted to show how to use this addon with ES6 classes.

Example:

export default class MyModel extends Model { ... }

MyModel.prototype.myAction = collectionAction(...)

(thanks you to @rwjblue, who suggested the snippet above)

This is not exactly pretty though, so we might want to think about new API patterns that we can use in the Octane world in the future.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:8
  • Comments:6

github_iconTop GitHub Comments

1reaction
Turbo87commented, Sep 22, 2022

@machty you might be interested in https://github.com/rust-lang/crates.io/pull/5126. my plan is to extract that into a standalone addon once I have enough time and it’s not using TS yet, but since it doesn’t use decorators it most likely shouldn’t be that hard to add types.

1reaction
dbollingercommented, Apr 3, 2020

I’m at a point where I want to try using this add-on, so I’m going to use as-is without ES6 classes on my models for now – but there’s been a little bit of discussion in the ember-data discord about goals of modernizing this add-on.

https://discordapp.com/channels/480462759797063690/486549196837486592/695640101375705128

Read more comments on GitHub >

github_iconTop Results From Across the Web

Document reports - ADM Help Centers - Micro Focus
ValueEdge and ALM Octane lets you generate document reports for multiple entities. You can customize the details shown in the reports and save...
Read more >
Getting Started with Octane for Cinema 4D - Help | OTOY
OctaneRender is a physical-based render engine developed by OTOY. ... Get open the starter file, or just drop in a standard C4D Plane,...
Read more >
Octane | Usage-based Billing Platform
The leading usage-based billing platform, built for product and finance teams. A unified billing experience for self-service and enterprise customers.
Read more >
Getting Started in Octane Renderer! - Cinema 4D Tutorial
Project files are not available due to copyright ownership by the model maker:https://www.Patreon.com/mobox Get 1 month free of Epidemic ...
Read more >
OctaneRender For Cinema 4D Lesson 14.1: Render Settings ...
OctaneRender For Cinema 4D Lesson 14.1: Render Settings and Image File Types.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found