Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: @Reactor(.equatable) 매크로 구현 #17

Open
1 task
rlarjsdn3 opened this issue Jun 7, 2024 · 0 comments
Open
1 task

feat: @Reactor(.equatable) 매크로 구현 #17

rlarjsdn3 opened this issue Jun 7, 2024 · 0 comments
Labels
기능 New feature or request 문서 Improvements or additions to documentation 😗도현

Comments

@rlarjsdn3
Copy link
Collaborator

rlarjsdn3 commented Jun 7, 2024

🛠️ 작업 내용

  • @Reactor(.equatable) 매크로 구현
@Reactor(.equtable)
final class HomeReactor { 
    // @Reactor 매크로 작동 방식과 동일
}

// Begin expansion of "@Reactor(.equtable)"
extension 
extension HomeReactor: Identifiable { 
    var id: UUID { UUID() }
}
extension HomeReactor: Equatable {
    static func == (lhs: HomeReactor, res: HomeReactor) -> Bool {
        lhs.id == rhs.id
    }
}
// End expansion of "@Reactor(.equtable)"

📄 기타

  • 주석화된 문서 작성하기
  • XCTest 케이스 작성하기

검증 완료

@rlarjsdn3 rlarjsdn3 added 문서 Improvements or additions to documentation 기능 New feature or request 😆경미 labels Jun 7, 2024
@rlarjsdn3 rlarjsdn3 changed the title feat: @ReactorEqutable 매크로 구현 feat: @Reactor(.equatable) 매크로 구현 Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
기능 New feature or request 문서 Improvements or additions to documentation 😗도현
Projects
None yet
Development

No branches or pull requests

1 participant