Missing Documentation: Model Service - $_type_classes
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 38/100
- Tipo di issue
- Documentazione
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- php
- Ambito
- documentation
Direzione di ricerca
Read the Model Service documentation at services/model/building-your-own.html, especially the Typed Columns and Composite Types sections. Check how $_type_classes and the ChannelPreferences example relate to custom composite types, then document the property and explain its use. Done means the guide clearly describes how custom composite types are configured.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Suggested Change
Add documentation to describe $_type_classes property for the Model Service. The use case I have found which demonstrates this can be found in the Site Model
Note: While writing this issue, I noticed that this model now does not actually use a custom
$_type_classesfor any of its properties:ExpressionEngine\Service\Model\Column\CustomType
I am assuming that this change happened between version 5 and 6.
Reasoning
The documentation does describe Typed Columns but it does not describe that Composite Types can be custom.
Example of a custom composite type: ChannelPreferences
Additional context
I assume that the Site Model no longer utilizes these custom $_type_classes because information stored in these variables is only accessible once the model has been loaded, therefore these property values cannot be used when filtering for models. Is this correct?
Also, I have not looked deeper into this, but the Site Model was the only model I was familiar with that used this type of Variable Column. My next question is whether or not the uses of $_type_classes are being phased out in a later version?
- Lingua principale
- CSS
- Stelle
- 22
- Fork
- 79
- Merge medio
- 2g 1h
- PR unite (30g)
- 6
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di ExpressionEngine/ExpressionEngine-User-Guide
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
-
registration form docsAperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 55/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 45/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 55/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 46/100
Tutte le issue di ExpressionEngine/ExpressionEngine-User-Guide
Issue simili
-
docs: Release playbookApertadocumentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
awslabs/social-messaging-agent-runtime-toolkit#140 ·
I maintainer di solito rispondono entro 1 giorno
-
documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
liberation-data/drivine-python#432 ·
I maintainer di solito rispondono entro 1 giorno
-
documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
liberation-data/drivine#639 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
T9: Improve the docsApertagood first issue
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
ozaydincan/Workshop_Demo#19 ·
-
area/docs framework/hugo help wanted language/markdown
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno