herbsjs / gotu

Entities - Create your Entity and enjoy an elegant validation and serialization
Other
11 stars 19 forks source link

Feature: entity computed property #69

Open VictorTBX opened 1 year ago

VictorTBX commented 1 year ago

https://github.com/herbsjs/gotu/issues/68

This is still a draft, I'd like of understand if I'm on the right path before continuing.

Proposed Changes

  1. Add feature for defining function properties, updating them when properties are set

Author/Contributor

Reviewing Maintainer

dalssoft commented 1 year ago

great PR!

from https://github.com/herbsjs/gotu/issues/68#issuecomment-1366214765

I started developing this feature, but I'm stucked with two problems

with no tests I think it's hard to affirm it's only two problems... In order to improve this PR, even for a POC, tests are mandatory to understand the proposal and the implementation