Skip to content

Commit 109d434

Browse files
authored
Remove incorrect ksp symbol validation (#1323)
1 parent 702c776 commit 109d434

File tree

3 files changed

+4
-14
lines changed

3 files changed

+4
-14
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# 5.1.1
2+
Remove incorrect ksp symbol validation in processing of @EpoxyModelClass
3+
14
# 5.1.0
25
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.
36

epoxy-processor/src/main/java/com/airbnb/epoxy/processor/EpoxyProcessor.kt

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -95,19 +95,6 @@ class EpoxyProcessor @JvmOverloads constructor(
9595
}
9696
timer.markStepCompleted("build target class models")
9797

98-
if (isKsp()) {
99-
modelClassMap.values
100-
.filterIsInstance<BasicGeneratedModelInfo>()
101-
.mapNotNull { it.boundObjectTypeElement }
102-
.filter { !it.validate() }
103-
.let { invalidModelTypes ->
104-
timer.markStepCompleted("validate symbols")
105-
if (invalidModelTypes.isNotEmpty()) {
106-
return invalidModelTypes
107-
}
108-
}
109-
}
110-
11198
addAttributesFromOtherModules(modelClassMap, memoizer)
11299
timer.markStepCompleted("add attributes from other modules")
113100

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION_NAME=5.1.0
1+
VERSION_NAME=5.1.1
22
GROUP=com.airbnb.android
33
POM_DESCRIPTION=Epoxy is a system for composing complex screens with a ReyclerView in Android.
44
POM_URL=https://github.com/airbnb/epoxy

0 commit comments

Comments
 (0)