Skip to content

Bug: String.url(with: ImageTransform) method is internal but should be public #104

Closed

Description

@alejandro-lopez-as

Bug: String.url(with: ImageTransform) method is internal but should be public
The url(with: ImageTransform) method in the String extension is marked as internal, making it inaccessible from app code, but it should be public based on:

Full API documentation with @parameter, @returns, @throws (internal methods don't get this level of docs)

Official documentation shows public usage examples: let result = urlString.url(with: transform) -> https://www.contentstack.com/docs/developers/sdks/content-delivery-sdk/swift/reference#quality_

Test cases in UtilsTest.swift demonstrate intended functionality but require @testable import to access

Activity

  1. cs-raj commented on Sep 22, 2025

    @cs-raj
    Contributor

    Hey @alejandro-lopez-as
    Thanks for raising this we will check this and get back
    cc: @netrajpatel @reeshika-h

  2. harshithad0703 commented on Nov 4, 2025

    @harshithad0703
    Contributor

    Hi @alejandro-lopez-as
    Please check the latest release for fix.
    Thank you

  3. alejandro-lopez-as commented on Nov 4, 2025

    @alejandro-lopez-as
    Author

    Thanks @harshithad0703 . We will update to that when possible. Appreciate it

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions