Skip to content

Conversation

@an-tex
Copy link
Contributor

@an-tex an-tex commented Jul 24, 2020

My usecase is querying ElasticSearch where nested case classes have been inserted.

I'm really not sure about the implementation as I'm not too familiar with macros. Tbh I'm surprised I got it to work at all.. But the test passes ;)


val name = extract(expr.tree)
// drop sth like x$1
.drop(1)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one looks odd, but the first element was always sth like x$3 etc in my tests

}

val name = extract(expr.tree).decoded
val name = extract(expr.tree).decodedName.toString
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

deprecation update

@an-tex
Copy link
Contributor Author

an-tex commented May 26, 2021

hey @dwickern, any feedback on this one?

@an-tex
Copy link
Contributor Author

an-tex commented Dec 19, 2021

@an-tex
Copy link
Contributor Author

an-tex commented Aug 1, 2022

hi @dwickern , any chance this PR is getting merged?

@oleksandr-yatsuk
Copy link

oleksandr-yatsuk commented Jan 4, 2023

@an-tex another use case is to use it with Spark Datasets to get a nested column name.

@dwickern could it be merged?

@an-tex
Copy link
Contributor Author

an-tex commented Jan 5, 2023

hi @oleksandr-yatsuk . i've tried to reach @dwickern already even on a few other channels with no success :( in the meantime i'm publishing my builds from my own fork to

Global / resolvers += "antex public" at "https://mymavenrepo.com/repo/zeKhQjbzBED1vIds46Kj/" val libraryDependencies += "com.github.dwickern" %% "scala-nameof" % "3.0.0-antex"

feel free to use those

@an-tex
Copy link
Contributor Author

an-tex commented Mar 6, 2025

@dwickern you've just dropped another release. could you please have a look at this so we don't have to maintain a separate fork...

@dwickern
Copy link
Owner

dwickern commented Mar 6, 2025

Sorry for neglecting this. I will try and get it merged. I understand it would be useful for Elasticsearch and Spark use-cases.

@dwickern dwickern mentioned this pull request Mar 10, 2025
@dwickern dwickern closed this in #30 Mar 12, 2025
@dwickern dwickern merged commit 4d07285 into dwickern:master Mar 12, 2025
@dwickern
Copy link
Owner

Released as v5.0.0 🎉

Please let me know if you have any problems. Sorry again for the long delay

@an-tex
Copy link
Contributor Author

an-tex commented Apr 1, 2025

looking good thanks @dwickern !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants