Skip to content

Conversation

@d-ronnqvist
Copy link
Contributor

@d-ronnqvist d-ronnqvist commented Oct 31, 2025

Bug/issue #, if applicable:

Summary

This extracts the SourceLanguage type and the Synchronized type into a new "Common" target.

The purpose of this change is to make it easier for other new code to be written in other new special purpose targets. And to be able to adopt stricter compile time checks in some new code that we can't yet enable in the full SwiftDocC target.

Dependencies

None.

Testing

Nothing in particular. This isn't a user facing

Checklist

Make sure you check off the following items. If they cannot be completed, provide a reason.

  • [ ] Added tests
  • Ran the ./bin/test script and it succeeded
  • [ ] Updated documentation if necessary

@d-ronnqvist
Copy link
Contributor Author

@swift-ci please test

@d-ronnqvist
Copy link
Contributor Author

I'm marking this as a draft while I perform a bit more compatibility testing to know if it's fine to move these public types or if we should leave a public typealias to these types instead?

@d-ronnqvist
Copy link
Contributor Author

@swift-ci please test

@d-ronnqvist d-ronnqvist marked this pull request as ready for review November 7, 2025 12:47
@d-ronnqvist
Copy link
Contributor Author

I'm marking this as a draft while I perform a bit more compatibility testing to know if it's fine to move these public types or if we should leave a public typealias to these types instead?

I found that we needed to add public typealias SourceLanguage = Common.SourceLanguage for compatibility, so I made that change in 72254fa. This is ready to review now.

@d-ronnqvist
Copy link
Contributor Author

@swift-ci please test

@d-ronnqvist d-ronnqvist force-pushed the create-target-for-common-code branch from 607d02e to 04d9cc1 Compare November 10, 2025 10:01
@d-ronnqvist
Copy link
Contributor Author

@swift-ci please test

@d-ronnqvist
Copy link
Contributor Author

@swift-ci please test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant