You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
title: Invoicex-table: invoicestype: objectproperties:
id:
type: integerreference_invoice:
allOf:
- $ref: '#/components/schemas/Invoice'
- x-faker: false
- description: This field is only set on invoices of type "cancellation_invoice"
When inserting this code, 'Invoice' itself is also listed as dependent in the dependentOn function in InvoiceFaker.php. This should not happen for two reasons:
It fundamentally makes no sense to mark itself as dependent.
The setting x-faker: false should result in the referenced relation not being taken as dependent.
The text was updated successfully, but these errors were encountered:
siggi-k
changed the title
Bug: dependentOn
Bug: dependentOn: allOf with "x-faker: false"
Sep 12, 2024
Invoice.yaml
When inserting this code, 'Invoice' itself is also listed as dependent in the
dependentOn
function inInvoiceFaker.php
. This should not happen for two reasons:x-faker: false
should result in the referenced relation not being taken as dependent.The text was updated successfully, but these errors were encountered: