Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

convert public case classes in laika.rewrite.link #490

Merged
merged 1 commit into from
Aug 11, 2023
Merged

Conversation

jenshalm
Copy link
Contributor

Applies the pattern described in #482 (section 2.) to public case classes in the package laika.rewrite.link:

  • LinkConfig
  • ApiLinks
  • SourceLinks
  • TargetDefinition

apply methods in the companions are reduced to arguments for all non-optional properties.
Since LinkConfig is heavily used in builds, deprecations for the old apply method will be introduced in 0.19.4 to ease the transition.

Finally, IconRegistry is no longer a case class (the above pattern has not been applied here).

@jenshalm jenshalm added this to the 1.0.0-M3 milestone Aug 11, 2023
@jenshalm jenshalm merged commit df7d35d into main Aug 11, 2023
@jenshalm jenshalm deleted the api/case-links branch August 11, 2023 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant