Closed
Description
Invoice.yaml
title: Invoice
x-table: invoices
type: object
properties:
id:
type: integer
reference_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.
Metadata
Metadata
Assignees
Labels
No labels