javier a1a649838c Implemented an input validation mechanism (#4)
This PR contains the work done to implement the `ValidateInputUseCase` use case and the `InputValidationRule` protocol, that is essential to define custom validation rules for inputs. In addition, the `NotEmptyValidationRule` and `NotNilValidationRule` rules have also been implemented.

Reviewed-on: #4
Co-authored-by: Javier Cicchelli <javier@rock-n-code.com>
Co-committed-by: Javier Cicchelli <javier@rock-n-code.com>
2025-10-12 13:25:25 +00:00

Discogs Service

A library written entirely with Swift that allow the developer to interact with the Discogs API backend service.

Installation

To use this library, then add it as a dependency in the Package.swift file of your project:

let package = Package(
    // name, platforms, products, etc.
    dependencies: [
        .package(url: "https://github.com/rock-n-code/discogs-service", from: "0.2.0"),
        // other dependencies
    ],
    targets: [
        .target(
            name: "SomeTarget", 
            dependencies: [
                .product(name: "DiscogsService", package: "discogs-service"),
            ]
        )
        // other targets
    ]
)

It is also possible to use this library with your app in Xcode, then add it as a dependency in your Xcode project.

important: Swift 5.10 or higher is required in order to compile this library.

Documentation

Please refer to the online documentation for further informations about this library.

S
Description
A service written in Swift that interacts with the Discogs backend service.
https://github.com/rock-n-code/discogs-service
Readme Apache-2.0 74 MiB
2026-03-24 01:57:54 +00:00
Languages
Swift 96.5%
Makefile 3.5%