Skip to content

Commit

Permalink
feat :fix lint error #885
Browse files Browse the repository at this point in the history
lints fix
  • Loading branch information
R-abodyak committed Jan 18, 2024
1 parent f955717 commit b6fe3c3
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions docs/docs/configuration/ctor-mappings.md
Expand Up @@ -10,12 +10,14 @@ Mapperly resolves the constructor to be used by the following priorities:

- accessible constructors annotated with `MapperConstructor`
- if `PreferParameterlessConstructors` attribute is set to `true` (default behavior):
- accessible parameterless constructors.
- accessible constructors ordered in descending by their parameter count

- accessible parameterless constructors.
- accessible constructors ordered in descending by their parameter count

- If `PreferParameterlessConstructors` attribute is set to `false` :
- Accessible constructors are ordered in descending order by their parameter count.
- Accessible parameterless constructors are considered afterward.

- Accessible constructors are ordered in descending order by their parameter count.
- Accessible parameterless constructors are considered afterward.

- constructors with a `System.ObsoleteAttribute` attribute, unless they have a `MapperConstructor` attribute

Expand Down

0 comments on commit b6fe3c3

Please sign in to comment.