Skip to content

Commit

Permalink
Remove incorrect ksp symbol validation (#1323)
Browse files Browse the repository at this point in the history
  • Loading branch information
elihart authored Nov 3, 2022
1 parent 702c776 commit 109d434
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 14 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 5.1.1
Remove incorrect ksp symbol validation in processing of @EpoxyModelClass

# 5.1.0
Updates Kotlin to 1.7.20 and KSP to 1.7.20-1.0.7, as well as the room compiler processing (xprocessing) library to 2.5.0-beta01.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,19 +95,6 @@ class EpoxyProcessor @JvmOverloads constructor(
}
timer.markStepCompleted("build target class models")

if (isKsp()) {
modelClassMap.values
.filterIsInstance<BasicGeneratedModelInfo>()
.mapNotNull { it.boundObjectTypeElement }
.filter { !it.validate() }
.let { invalidModelTypes ->
timer.markStepCompleted("validate symbols")
if (invalidModelTypes.isNotEmpty()) {
return invalidModelTypes
}
}
}

addAttributesFromOtherModules(modelClassMap, memoizer)
timer.markStepCompleted("add attributes from other modules")

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION_NAME=5.1.0
VERSION_NAME=5.1.1
GROUP=com.airbnb.android
POM_DESCRIPTION=Epoxy is a system for composing complex screens with a ReyclerView in Android.
POM_URL=https://github.com/airbnb/epoxy
Expand Down

0 comments on commit 109d434

Please sign in to comment.