How to include fields with .get()

By default, the .get() method won’t return reference fields.
To retrieve these fields, you need to explicitly pass them as a string into the second parameter.

Example:

SmartBulb.get("SMBLB1", "fixtureHistory")

Where fixtureHistory is declared as:

fixtureHistory: [SmartBulbToFixtureRelation] (from)
1 Like