Łukasz Jagodziński

Results 144 comments of Łukasz Jagodziński
trafficstars

You can set fields values inside the method. If you have some reproduction repository a I can help solve your problem

I'm rather against adding new terminology to the package. I would rather introduce new hook to modules system that would allow attaching to `create`, `extend` and `inherit` methods. However, class...

You should be able to create such an index. Try this: ```js import { Class } from 'meteor/jagi:astronomy'; const Item = Class.create({ name: 'Item', collection: Items fields: { lastModifiedDate: Date...

For setting nested fields you have `doc.set` method which works similarly to `_.set` but it has more features like ability to cast values, set default values etc. I can't help...

```js beforeUpdate(e) { const doc = e.currentTarget; if (doc.isModified('finished') && doc.finished) { // Do something... } } ```

Please, create reproduction repository so I can test it.

Can you create reproduction repository?

```js const child = new Child(parent.raw()); ``` should be just enough to create a child that has set all its fields set to values from the parent. If it goes...

@red-meadow > Is switching classes with Astronomy a right way of thinking at all? Everything depends on your use case. Don't know why you're doing it but if your use...

You set `secured` to `false`. Have you tried with this flag set to `true`? Could you also create reproduction repository?