Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lawyer function #3

Closed
6 tasks done
mtmr0x opened this issue Aug 19, 2018 · 1 comment
Closed
6 tasks done

Lawyer function #3

mtmr0x opened this issue Aug 19, 2018 · 1 comment
Projects

Comments

@mtmr0x
Copy link
Owner

mtmr0x commented Aug 19, 2018

Tasks

  • documentation at Wiki
  • verification for non primitive or non Nucleo Object types
  • recursively call lawyer for Nucleo Object Types

Tests

  • Recursively call lawyer for NucleoObjectType fields
  • verify data types
  • verify fields not presented in contract
@mtmr0x mtmr0x added this to To do in Beta via automation Aug 19, 2018
@mtmr0x
Copy link
Owner Author

mtmr0x commented Aug 19, 2018

Thinkings

  • should it save data the matches exactly like contract, using default states like:
// contract example

  const userTest = new NucleoObjectType({
    name: 'userTest',
    fields: {
      name: NucleoString,
      age: NucleoNumber
    }
  });

dispatch('userTest')({ name: "john" });  // it throws an error because `age` is missing

or it doesn't verify the whole contract and save if it is presente?

@mtmr0x mtmr0x moved this from To do to Done in Beta Oct 3, 2018
@mtmr0x mtmr0x closed this as completed Oct 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Beta
  
Done
Development

No branches or pull requests

1 participant