Skip to content

Contracts

Matheus Marsiglio edited this page Aug 19, 2018 · 1 revision

Contracts are used as a concept in Nucleo, every NucleoObjectType is a contract. This way you're defining the exactly object that part of your store will expect.

Responsabilities

  • Understand the store items names and make sure they exist or not for not saving in store data without a explicit Nucleo contract;
  • Understand the contract attributes types and make sure they're what is expected based in their contracts.
Clone this wiki locally