Skip to content

Commit

Permalink
remove upstreamed StructArrays methods
Browse files Browse the repository at this point in the history
  • Loading branch information
aplavin committed Dec 18, 2024
1 parent 99ce97d commit 5fac3e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "AccessorsExtra"
uuid = "33016aad-b69d-45be-9359-82a41f556fd4"
authors = ["Alexander Plavin <[email protected]>"]
version = "0.1.82"
version = "0.1.83"

[deps]
Accessors = "7d9f7c33-5ae7-4f3b-8dc6-eff91059b697"
Expand Down Expand Up @@ -59,7 +59,7 @@ LinearAlgebra = "1"
Reexport = "1.2.2"
Skipper = "0.1.11"
StaticArrays = "1.5.6"
StructArrays = "0.6"
StructArrays = "0.6.21"
Tables = "1"
Test = "1"
URIs = "1.4"
Expand Down
5 changes: 0 additions & 5 deletions ext/StructArraysExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ using StructArrays
using StructArrays: Tables
import AccessorsExtra: extract_properties_recursive
using AccessorsExtra.Accessors
using AccessorsExtra.ConstructionBase

# XXX: piracy, but kinda hard to upstream
ConstructionBase.setproperties(x::StructArray, patch::NamedTuple) = @modify(cs -> setproperties(cs, patch), StructArrays.components(x))
ConstructionBase.setproperties(x::StructArray{<:Tuple}, patch::Tuple) = @modify(cs -> setproperties(cs, patch), StructArrays.components(x))

extract_properties_recursive(x::StructArray, props_nt::NamedTuple) =
StructArray(extract_properties_recursive(StructArrays.components(x), props_nt))
Expand Down

0 comments on commit 5fac3e5

Please sign in to comment.