Skip to content

pojo support for query / mutation parameter #1515

Closed
@cryptoki

Description

@cryptoki

up to version 5.x we could use our Java Pojos

public class SomeOldPojo {
  public String value;
}
  fun pojo(pojo: SomeOldPojo): String? = "hello ${pojo.value}"
query {
	pojo(pojo: {value: "abc"})
}

with the 6.x release the Jackson ObjectMapper is removed and therewith the java support. Is there a best practice to use / integrate old pojo?

little playground https://github.com/cryptoki/graphql-defaults

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions