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

prefix 4 attributes #558

Merged
merged 2 commits into from Sep 19, 2021
Merged

prefix 4 attributes #558

merged 2 commits into from Sep 19, 2021

Conversation

etitov
Copy link
Contributor

@etitov etitov commented Feb 26, 2021

when set scalaxbAttributePrefix := Some("a_")

case class MetricsPort(name: String,
  attributes: org.uwes.vplan2odf.vplanx.AttributesType,
  mappingPatterns: org.uwes.vplan2odf.vplanx.MappingPatterns,
  a_attributes: Map[String, scalaxb.DataRecord[Any]] = Map()) {
  lazy val a_id = a_attributes.get("@id") map { _.as[String] }
}

@etitov
Copy link
Contributor Author

etitov commented Feb 26, 2021

Issue #318

@etitov etitov marked this pull request as ready for review March 4, 2021 11:15
@eed3si9n
Copy link
Owner

eed3si9n commented Mar 4, 2021

Could you add test case either by editing https://github.com/eed3si9n/scalaxb/blob/master/integration/src/test/scala/BigTest.scala and creating a new one like that plz?

Copy link
Owner

@eed3si9n eed3si9n left a comment

Choose a reason for hiding this comment

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

Thanks!

@eed3si9n eed3si9n merged commit 136a3a4 into eed3si9n:master Sep 19, 2021
This was referenced Sep 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants