You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -17,7 +11,7 @@ is either given directly to `Knigge` or fetched from the configuration.
17
11
`Knigge` can be `use`d directly in a behaviour, or in a separate module by
18
12
passing the behaviour which should be "facaded" as an option.
19
13
20
-
[See the documentation](https://hexdocs.pm/knigge) for more information.
14
+
[See the documentation](https://hexdocs.pm/ex_knigge) for more information.
21
15
22
16
## Table of Contents
23
17
@@ -44,7 +38,7 @@ Simply add `knigge` to your list of dependencies in your `mix.exs`:
44
38
```elixir
45
39
defdepsdo
46
40
[
47
-
{:ex_knigge, "~> 1.4"}
41
+
{:ex_knigge, "2.0.0-rc.0"}
48
42
]
49
43
end
50
44
```
@@ -241,12 +235,12 @@ since the implementing module will have to be loaded for each call.
241
235
If you want to do delegation at runtime simply pass `delegate_at_runtime?: true`
242
236
as option - by default `Knigge` delegates at runtime in your `:test`s.
243
237
244
-
For further information about options check the [`Knigge.Options` module](https://hexdocs.pm/knigge/Knigge.Options.html).
238
+
For further information about options check the [`Knigge.Options` module](https://hexdocs.pm/ex_knigge/Knigge.Options.html).
245
239
246
240
## Verifying your implementations - `mix knigge.verify`
247
241
248
242
Before version 1.2.0 `Knigge` tried to check at compile time if the implementation of your facade existed.
249
-
Due to the way the Elixir compiler goes about compiling your modules this didn't work as expected - [checkout this page if you're interested in the details](https://hexdocs.pm/knigge/the-existence-check.html).
243
+
Due to the way the Elixir compiler goes about compiling your modules this didn't work as expected - [checkout this page if you're interested in the details](https://hexdocs.pm/ex_knigge/the-existence-check.html).
250
244
251
245
As an alternative `Knigge` now offers the `mix knigge.verify` task which verifies that the implementation modules of your facades actually exist.
252
246
The task returns with an error code when an implementation is missing, which allows you to plug it into your CI pipeline - for example as `MIX_ENV=prod mix knigge.verify`.
0 commit comments