Skip to content

prefix 4 attributes - #558

Merged
eed3si9n merged 2 commits into
eed3si9n:masterfrom
etitov:attr-name
Sep 19, 2021
Merged

eed3si9n merged 2 commits into
eed3si9n:masterfrom
etitov:attr-name

Conversation

@etitov

@etitov etitov commented Feb 26, 2021

Copy link
Copy Markdown
Contributor

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

etitov commented Feb 26, 2021

Copy link
Copy Markdown
Contributor Author

Issue #318

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

eed3si9n commented Mar 4, 2021

Copy link
Copy Markdown
Owner

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?

@eed3si9n eed3si9n left a comment

Copy link
Copy Markdown
Owner

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.

2 participants