Closed leogr closed 6 years ago
schemas
could be empty, I've began to move contents away by https://github.com/fabbricadigitale/scimd/commit/8e27fa65095c29852d149a457bf9a31b7269e690
I had some thoughts, finally I described my idea below.
Package's rules of thumb
(*) has no interdependencies with other parts of the packages
Some examples:
data_types.go
(that's self-contained) may have its own package: schemas/datatype
, so we could write datatype.New(...)
decode.go
may have its own package: schemas/attribute
that just needs datatype
schemas/resource
that needs datatype
and core
Common
, Schema
, ResourceType
, ServiceProviderConfig
will be left in schemas/core
api
must not import api/messages
, so may be messages
needs some siblingsvalidation
as first level is OKserver
as first level is OKclient
as first level is OK
...and so oncc @leodido @alelb
:+1:
The current situation is:
messages
needscore
schemas
needscore
resources
needscore
andschemas
Questions:
Refs #9