Skip to content

Commit

Permalink
Fix AZNewPipeline to use a compound ID of folder and name for Identif…
Browse files Browse the repository at this point in the history
…iable conformance

init
  • Loading branch information
roanutil committed Oct 30, 2023
1 parent 8749b55 commit 0eaa562
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Sources/AZPipelines/AZNewPipeline.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ public struct AZNewPipeline: Hashable, Sendable, Codable {
}

extension AZNewPipeline: Identifiable {
public var id: AZPipeline.Name {
name
public typealias ID = Tagged<Self, String>

public var id: ID {
ID(folder + name.rawValue)
}
}

0 comments on commit 0eaa562

Please sign in to comment.