-
Notifications
You must be signed in to change notification settings - Fork 26
Merge wied03/ENG-2192/pre-verify-form-api #178
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
Changes from all commits
7f7e9bb
9a2bb89
1ec483d
bc96e11
06bd82f
2d9b969
fa3b82f
348e580
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,9 @@ | |
"typeArguments" : [ { | ||
"type" : "UUID" | ||
} ] | ||
}, | ||
"type" : { | ||
"type" : "FormStepType" | ||
} | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"packageName" : "io.fusionauth.domain.form", | ||
"type" : "FormStepType", | ||
"description" : "/**\n * Denotes the type of form step. This is used to configure different behavior on form steps in the registration flow.\n */\n", | ||
"enum" : [ "collectData", "verifyEmail", "verifyPhoneNumber" ] | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,16 +5,28 @@ | |
"type" : "Object" | ||
}, | ||
"fields" : { | ||
"fieldObjects" : { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should this even be here? We're filtering it out of the Java client, but this seems like it would show up in other clients. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I've never paid attention to the |
||
"className" : "java.util.List", | ||
"type" : "List", | ||
"typeArguments" : [ { | ||
"className" : "io.fusionauth.domain.form.FormField", | ||
"type" : "FormField" | ||
} ] | ||
}, | ||
"fields" : { | ||
"className" : "java.util.List", | ||
"type" : "List", | ||
"typeArguments" : [ { | ||
"className" : "java.util.UUID", | ||
"type" : "UUID" | ||
} ] | ||
}, | ||
"type" : { | ||
"className" : "io.fusionauth.domain.form.FormStepType", | ||
"type" : "FormStepType" | ||
} | ||
}, | ||
"imports" : [ "io.fusionauth.domain.Buildable", "java.util.List", "java.util.UUID" ], | ||
"imports" : [ "io.fusionauth.domain.Buildable", "java.util.List", "io.fusionauth.domain.form.FormField", "java.util.UUID", "io.fusionauth.domain.form.FormStepType" ], | ||
"interfaces" : [ { | ||
"className" : "io.fusionauth.domain.Buildable", | ||
"type" : "Buildable", | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"className" : "io.fusionauth.domain.form.FormStepType", | ||
"enum" : [ "collectData", "verifyEmail", "verifyPhoneNumber" ], | ||
"imports" : [ ], | ||
"objectType" : "Enum", | ||
"packageName" : "io.fusionauth.domain.form", | ||
"type" : "FormStepType" | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was trying to eliminate looking for a specific field name. I thought the
@InternalUse
filter below was removing the field from the client library entirely, but it's just removing the annotation.According to the
@InternalUse
annotation doc, it seems it's meant to remove the field entirely from clients.Seems like it works for libraries that we build from JSON but not for Java.