Skip to content

Release v1.2.3

Compare
Choose a tag to compare
@raceychan raceychan released this 10 Jan 14:39
· 7 commits to master since this release

version 1.2.3

  • change _itypes to interfaces, make it public, since it is unlikely to cause breaking change

  • remove partial_resolve from DependencyGraph

partial_resolve was introduced in 1.2.0. it is not a good design,
it is like a global try except, which hides problems instead of solving them.

  • Ignore Annotation
from ididi import Ignore

class User:
    def __init__(self, name: Ignore[str]):
        self.name = name

which is equivalent to

DependencyGraph().node(ignore="name")(User)

both use and Ignore are designed to be user friendly alternative to DependencyGraph.node