Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: PureSwift/CoreModel
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2.8.1
Choose a base ref
...
head repository: PureSwift/CoreModel
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2.8.2
Choose a head ref
  • 5 commits
  • 4 files changed
  • 1 contributor

Commits on Jul 18, 2026

  1. Add ModelDataDecodingError typealias for Embedded typed throws

    Resolves to the concrete CoreModelError under Embedded Swift (where
    any Error existentials are disallowed) and to any Swift.Error
    otherwise, so callers can adopt throws(ModelDataDecodingError) with no
    behavior change off-Embedded.
    colemancda committed Jul 18, 2026
    Configuration menu
    Copy the full SHA
    f0528eb View commit details
    Browse the repository at this point in the history
  2. Type ModelData decode helpers with throws(ModelDataDecodingError)

    The generic decode/decodeRelationship helpers threw untyped (any Error),
    forcing a boxing thunk the compiler rejects under Embedded Swift once
    specialized for a concrete type. Adopt the typed throws clause and
    replace the throwing objectIDs.map with an explicit loop, since the
    rethrows overload erases the thrown type back to any Error.
    colemancda committed Jul 18, 2026
    Configuration menu
    Copy the full SHA
    2c9f598 View commit details
    Browse the repository at this point in the history
  3. Type Entity.init(from:) requirement with throws(ModelDataDecodingError)

    The untyped throws requirement forced every throwing witness to
    synthesize an any Error boxing thunk in the witness table, which
    Embedded Swift rejects. encode() is left untyped since no witness
    throws.
    colemancda committed Jul 18, 2026
    Configuration menu
    Copy the full SHA
    27d2955 View commit details
    Browse the repository at this point in the history
  4. Add Embedded-only Entity fixture to force decode-path specialization

    An always-built (Embedded-gated) concrete Entity conformance that
    specializes the generic init(from:)/decode path the wasm-embedded CI job
    never reaches through the test target, guarding against error-boxing
    regressions.
    colemancda committed Jul 18, 2026
    Configuration menu
    Copy the full SHA
    ea27f47 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #24 from PureSwift/feature/embedded

    Fix Embedded Swift support for Entity decoding
    colemancda authored Jul 18, 2026
    Configuration menu
    Copy the full SHA
    960636d View commit details
    Browse the repository at this point in the history
Loading