I tried fixing it as validators: [{ type: "myCustomClassValidator" }] but i still get TypeError: ["Problem" class]["validators" property] Validators definition has to be an array of objects
Andreas
@andreyunugro
@liuq You need to state your field key, for example:
Right, so it's not possible to define a real class-level validator (i.e., looking at all fields), this is just a place where to put field-level validation.
Emad Radwan
@EmadRadwan
Hi There,
Sorry for a pure beginner question. Does Astronomy provide alternative for Mongoose?
Andrew Ckor
@andrewckor
No astronomy is only for meteor
Alex Price
@remotealex
Is there a way to set e.trusted to false for testing purposes?
Alex Price
@remotealex
Looking through the lib code it doesn't look like it... I'll override with NODE_ENV for now
tanase-sebastian
@tanase-sebastian
Hello, does astronomy support the definition of relations between tables ? I see some github comments from 2015 but nothing more
Oh, sorry 'bout that. I also read that package has been discontinued jagi/meteor-astronomy#624
I use v2. I simply store the id of the related Class as a String and use helpers to access it
Iain Hallam
@iainhallam
Is anyone using Astronomy with Grapher?
Srimal Priyanga
@SrimalPriyanga
Couldn't find any rect example using astronomy, does is possible to use astronomy with react
Ryan Watts
@rwatts3
Just finding out about Astronomy, Great Work ! Is there an Autoform type companion to Astronomy. Such as Aldeed's Autoform is to Simpleschema ?
siruscoder
@siruscoder
I am sure this is something very obvious that I am missing.... how can I programmatically get the name of the Astronomy class (for example in a helper)?
Lukas Van Orshoven
@Lukasvo
Class.getName() ?
Frank Pimenta
@frankapimenta
TypeError: Cannot read property 'create' of undefined -----> but I am importing
someone?
_
Luca Ciraolo
@lucaciraolo
is it possible to trigger a save if no fields have changed? I want the beforeSave event to trigger