Skip to content

Commit

Permalink
Update field type in doctrine mapping
Browse files Browse the repository at this point in the history
The field type for 'transports' and 'otherUI' in PublicKeyCredentialSource.orm.xml file has been updated. They were initially set to 'array', but have now been changed to 'json' to better align with the data structure requirements of these fields.
  • Loading branch information
Spomky committed Jul 12, 2024
1 parent 0af28c1 commit 82b8db9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
<mapped-superclass name="Webauthn\PublicKeyCredentialSource">
<field name="publicKeyCredentialId" type="base64"/>
<field name="type"/>
<field name="transports" type="array"/>
<field name="transports" type="json"/>
<field name="attestationType"/>
<field name="trustPath" type="trust_path"/>
<field name="aaguid" type="aaguid" length="36"/>
<field name="credentialPublicKey" type="base64"/>
<field name="userHandle"/>
<field name="counter" type="integer"/>
<field name="otherUI" type="array" nullable="true"/>
<field name="otherUI" type="json" nullable="true"/>
<field name="backupEligible" type="boolean" nullable="true"/>
<field name="backupStatus" type="boolean" nullable="true"/>
<field name="uvInitialized" type="boolean" nullable="true"/>
Expand Down

0 comments on commit 82b8db9

Please sign in to comment.